CreateBackgroundDelegateCommand<T>(Action<T, CancellationToken>, Func<T, bool>?, bool)
Declaration
public static AsyncDelegateCommand<T> CreateBackgroundDelegateCommand<T>(Action<T, CancellationToken> execute, Func<T, bool>? canExecute, bool supportsConcurrentExecution)
Parameters
Type | Name | Description |
---|---|---|
Action<T, CancellationToken> | execute | |
Func<T, bool> | canExecute | |
bool | supportsConcurrentExecution |
Returns
Type | Description |
---|---|
AsyncDelegateCommand<T> |
Type Parameters
Name | Description |
---|---|
T |
CreateBackgroundDelegateCommand<T>(Action<T>, Func<T, bool>?, bool)
Declaration
public static AsyncDelegateCommand<T> CreateBackgroundDelegateCommand<T>(Action<T> execute, Func<T, bool>? canExecute, bool supportsConcurrentExecution)
Parameters
Type | Name | Description |
---|---|---|
Action<T> | execute | |
Func<T, bool> | canExecute | |
bool | supportsConcurrentExecution |
Returns
Type | Description |
---|---|
AsyncDelegateCommand<T> |
Type Parameters
Name | Description |
---|---|
T |
CreateBackgroundDelegateCommand(Action<CancellationToken>, Func<bool>?, bool)
Declaration
public static AsyncDelegateCommand CreateBackgroundDelegateCommand(Action<CancellationToken> execute, Func<bool>? canExecute, bool supportsConcurrentExecution)
Parameters
Type | Name | Description |
---|---|---|
Action<CancellationToken> | execute | |
Func<bool> | canExecute | |
bool | supportsConcurrentExecution |
Returns
Type | Description |
---|---|
AsyncDelegateCommand |
CreateBackgroundDelegateCommand(Action, Func<bool>?, bool)
Declaration
public static AsyncDelegateCommand CreateBackgroundDelegateCommand(Action execute, Func<bool>? canExecute, bool supportsConcurrentExecution)
Parameters
Type | Name | Description |
---|---|---|
Action | execute | |
Func<bool> | canExecute | |
bool | supportsConcurrentExecution |
Returns
Type | Description |
---|---|
AsyncDelegateCommand |
CreateBackgroundDelegateCommand(Action<CancellationToken>, Func<bool>, INotifyPropertyChanged, string, bool)
Declaration
public static AsyncDelegateCommand CreateBackgroundDelegateCommand(Action<CancellationToken> execute, Func<bool> canExecute, INotifyPropertyChanged canExecuteNotifier, string canExecutePropertyName, bool supportsConcurrentExecution)
Parameters
Type | Name | Description |
---|---|---|
Action<CancellationToken> | execute | |
Func<bool> | canExecute | |
INotifyPropertyChanged | canExecuteNotifier | |
string | canExecutePropertyName | |
bool | supportsConcurrentExecution |
Returns
Type | Description |
---|---|
AsyncDelegateCommand |
CreateBackgroundDelegateCommand<T>(Action<T, CancellationToken>, Func<T, bool>, INotifyPropertyChanged, string, bool)
Declaration
public static AsyncDelegateCommand<T> CreateBackgroundDelegateCommand<T>(Action<T, CancellationToken> execute, Func<T, bool> canExecute, INotifyPropertyChanged canExecuteNotifier, string canExecutePropertyName, bool supportsConcurrentExecution)
Parameters
Type | Name | Description |
---|---|---|
Action<T, CancellationToken> | execute | |
Func<T, bool> | canExecute | |
INotifyPropertyChanged | canExecuteNotifier | |
string | canExecutePropertyName | |
bool | supportsConcurrentExecution |
Returns
Type | Description |
---|---|
AsyncDelegateCommand<T> |
Type Parameters
Name | Description |
---|---|
T |
CreateBackgroundDelegateCommand(Action, Func<bool>, INotifyPropertyChanged, string, bool)
Declaration
public static AsyncDelegateCommand CreateBackgroundDelegateCommand(Action execute, Func<bool> canExecute, INotifyPropertyChanged canExecuteNotifier, string canExecutePropertyName, bool supportsConcurrentExecution)
Parameters
Type | Name | Description |
---|---|---|
Action | execute | |
Func<bool> | canExecute | |
INotifyPropertyChanged | canExecuteNotifier | |
string | canExecutePropertyName | |
bool | supportsConcurrentExecution |
Returns
Type | Description |
---|---|
AsyncDelegateCommand |
CreateBackgroundDelegateCommand<T>(Action<T>, Func<T, bool>, INotifyPropertyChanged, string, bool)
Declaration
public static AsyncDelegateCommand<T> CreateBackgroundDelegateCommand<T>(Action<T> execute, Func<T, bool> canExecute, INotifyPropertyChanged canExecuteNotifier, string canExecutePropertyName, bool supportsConcurrentExecution)
Parameters
Type | Name | Description |
---|---|---|
Action<T> | execute | |
Func<T, bool> | canExecute | |
INotifyPropertyChanged | canExecuteNotifier | |
string | canExecutePropertyName | |
bool | supportsConcurrentExecution |
Returns
Type | Description |
---|---|
AsyncDelegateCommand<T> |
Type Parameters
Name | Description |
---|---|
T |