Share via

DelegateCommand<T> Class

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)


Public Class DelegateCommand(Of T) _
    Implements ICommand, IActiveAware
public class DelegateCommand<T> : ICommand, 
generic<typename T>
public ref class DelegateCommand : ICommand, 
JavaScript does not support generic types or methods.

Type Parameters

  • T
    Parameter type.

Inheritance Hierarchy


See Also

DelegateCommand<T> Members

Microsoft.Practices.Composite.Presentation.Commands Namespace