Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
An ICommand whose delegates can be attached for Execute(T) and CanExecute(T). It also implements the IActiveAware interface, which is useful when registering this command in a CompositeCommand that monitors command's activity.
Namespace: Microsoft.Practices.Composite.Presentation.Commands
Assembly: Microsoft.Practices.Composite.Presentation (in Microsoft.Practices.Composite.Presentation.dll)
Syntax
'Declaration
Public Class DelegateCommand(Of T) _
Implements ICommand, IActiveAware
public class DelegateCommand<T> : ICommand,
IActiveAware
generic<typename T>
public ref class DelegateCommand : ICommand,
IActiveAware
JavaScript does not support generic types or methods.
Type Parameters
- T
Parameter type.
Inheritance Hierarchy
System.Object
Microsoft.Practices.Composite.Presentation.Commands.DelegateCommand<T>
See Also
Microsoft.Practices.Composite.Presentation.Commands Namespace