Class Command<T>
- Namespace
- The.Web.Pages
- Assembly
- Instagile.Web.Client.dll
public class Command<T> : Command where T : notnull
Type Parameters
T
- Inheritance
-
Command<T>
- Inherited Members
-
Constructors
Command(Func<string>, Action<T>, Func<bool>?, Func<IServices, bool>?, string, bool)
public Command(Func<string> getLabel, Action<T> execute, Func<bool>? canExecute = null, Func<IServices, bool>? isVisible = null, string key = "", bool primary = false)
Parameters
getLabel Func<string>
execute Action<T>
canExecute Func<bool>
isVisible Func<IServices, bool>
key string
primary bool
Command(Func<string>, Func<T, Task>, Func<bool>?, Func<IServices, bool>?, string, bool)
public Command(Func<string> getLabel, Func<T, Task> execute, Func<bool>? canExecute = null, Func<IServices, bool>? isVisible = null, string key = "", bool primary = false)
Parameters
getLabel Func<string>
execute Func<T, Task>
canExecute Func<bool>
isVisible Func<IServices, bool>
key string
primary bool
Command(Func<string>, Func<T, Task>, Func<Task<bool>>, Func<IServices, Task<bool>>?, string, bool)
public Command(Func<string> getLabel, Func<T, Task> execute, Func<Task<bool>> canExecute, Func<IServices, Task<bool>>? isVisible = null, string key = "", bool primary = false)
Parameters
getLabel Func<string>
execute Func<T, Task>
canExecute Func<Task<bool>>
isVisible Func<IServices, Task<bool>>
key string
primary bool
Command(string, Action<T>, Func<bool>?, Func<IServices, bool>?, string, bool)
public Command(string label, Action<T> execute, Func<bool>? canExecute = null, Func<IServices, bool>? isVisible = null, string key = "", bool primary = false)
Parameters
label string
execute Action<T>
canExecute Func<bool>
isVisible Func<IServices, bool>
key string
primary bool
Command(string, Func<T, Task>, Func<bool>?, Func<IServices, bool>?, string, bool)
public Command(string label, Func<T, Task> execute, Func<bool>? canExecute = null, Func<IServices, bool>? isVisible = null, string key = "", bool primary = false)
Parameters
label string
execute Func<T, Task>
canExecute Func<bool>
isVisible Func<IServices, bool>
key string
primary bool
Command(string, Func<T, Task>, Func<Task<bool>>, Func<IServices, Task<bool>>?, string, bool)
public Command(string label, Func<T, Task> execute, Func<Task<bool>> canExecute, Func<IServices, Task<bool>>? isVisible = null, string key = "", bool primary = false)
Parameters
label string
execute Func<T, Task>
canExecute Func<Task<bool>>
isVisible Func<IServices, Task<bool>>
key string
primary bool