Struct CommandModel
- Namespace
- The.Web.Pages
- Assembly
- Instagile.Web.Client.dll
public record struct CommandModel : IEquatable<CommandModel>
- Implements
-
- Inherited Members
-
Constructors
CommandModel(string, bool, string, bool, bool, Func<Task>)
public CommandModel(string Key, bool IsPrimary, string Label, bool IsVisible, bool CanExecute, Func<Task> ExecuteAsync)
Parameters
Key string
IsPrimary bool
Label string
IsVisible bool
CanExecute bool
ExecuteAsync Func<Task>
Properties
CanExecute
public bool CanExecute { readonly get; set; }
Property Value
- bool
ExecuteAsync
public Func<Task> ExecuteAsync { readonly get; set; }
Property Value
- Func<Task>
IsPrimary
public bool IsPrimary { readonly get; set; }
Property Value
- bool
IsVisible
public bool IsVisible { readonly get; set; }
Property Value
- bool
Key
public string Key { readonly get; set; }
Property Value
- string
Label
public string Label { readonly get; set; }
Property Value
- string