An implementation of IAsyncCommand which uses delegates to access callbacks, accepting one parameter.
Namespace: Metalama.Patterns.Wpf
Assembly: Metalama.Patterns.Wpf.dll
Syntax
public sealed class AsyncDelegateCommand<T> : BaseAsyncDelegateCommand, IAsyncCommand, ICommand, INotifyPropertyChanged
Type Parameters
Name | Description |
---|---|
T |
Methods
Name | Description |
---|---|
CanExecute(T) | Gets a value indicating whether the Execute(T) command can be called with a given parameter. |
Execute(T) | Executes the command with a given parameter. |