DispatchedDelegateCommand<T> Constructors

Definition

Overloads

DispatchedDelegateCommand<T>(Action<T>, DispatcherPriority)
DispatchedDelegateCommand<T>(Action<T>, Predicate<T>, DispatcherPriority)

DispatchedDelegateCommand<T>(Action<T>, DispatcherPriority)

public DispatchedDelegateCommand (Action<T> execute, System.Windows.Threading.DispatcherPriority priority = System.Windows.Threading.DispatcherPriority.ApplicationIdle);
new Microsoft.VisualStudio.PlatformUI.DispatchedDelegateCommand<'T> : Action<'T> * System.Windows.Threading.DispatcherPriority -> Microsoft.VisualStudio.PlatformUI.DispatchedDelegateCommand<'T>
Public Sub New (execute As Action(Of T), Optional priority As DispatcherPriority = System.Windows.Threading.DispatcherPriority.ApplicationIdle)

Parameters

execute
Action<T>

Applies to

DispatchedDelegateCommand<T>(Action<T>, Predicate<T>, DispatcherPriority)

public DispatchedDelegateCommand (Action<T> execute, Predicate<T> canExecute, System.Windows.Threading.DispatcherPriority priority = System.Windows.Threading.DispatcherPriority.ApplicationIdle);
new Microsoft.VisualStudio.PlatformUI.DispatchedDelegateCommand<'T> : Action<'T> * Predicate<'T> * System.Windows.Threading.DispatcherPriority -> Microsoft.VisualStudio.PlatformUI.DispatchedDelegateCommand<'T>
Public Sub New (execute As Action(Of T), canExecute As Predicate(Of T), Optional priority As DispatcherPriority = System.Windows.Threading.DispatcherPriority.ApplicationIdle)

Parameters

execute
Action<T>
canExecute
Predicate<T>

Applies to