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