An implementation of ICommand which uses delegates to access callbacks, accepting a parameter.
Implements
Namespace: Metalama.Patterns.Wpf
Assembly: Metalama.Patterns.Wpf.dll
Syntax
public sealed class DelegateCommand<T> : BaseDelegateCommand, ICommandType Parameters
| Name | Description |
|---|---|
| T |
Methods
| Name | Description |
|---|---|
| CanExecute(T) | Determines if the Execute(T) method can be called with a given parameter. |
| Execute(T) | Executes the command with a given parameter. |