Click or drag to resize

DelegateCommandT Constructor

Overload List
  NameDescription
Public methodCode exampleDelegateCommandT
Initializes a new instance of the DelegateCommandT class.

No callback is initially set, so they must be set via the property setters. This usage generates easy readable code even if the delegates are inlined.

Public methodCode exampleDelegateCommandT(ActionT)
Initializes a new instance of the DelegateCommandT class with the execute callback.

This version generates more compact code; not recommended for in-line delegates.

Public methodCode exampleDelegateCommandT(PredicateT, ActionT)
Top
See Also