Documentation de Dvp.Net. Forum : http://www.developpez.net/forums/f1239/applications/projets/projets-heberges/dvp-net/
Assembly: Developpez.Dotnet.Windows (in Developpez.Dotnet.Windows.dll) Version: 1.0.0.0 (1.0.0.0)
[Ceci est une documentation préliminaire, sous réserve de modification.]
Initialise une nouvelle instance de DelegateCommand<T>, avec les méthodes spécifiées pour Execute et CanExecute
Namespace:
Developpez.Dotnet.Windows.InputAssembly: Developpez.Dotnet.Windows (in Developpez.Dotnet.Windows.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
C# |
---|
public DelegateCommand( Action<T> executeMethod, Func<T, bool> canExecuteMethod ) |
Visual Basic (Declaration) |
---|
Public Sub New ( _ executeMethod As Action(Of T), _ canExecuteMethod As Func(Of T, Boolean) _ ) |
Visual C++ |
---|
public: DelegateCommand( Action<T>^ executeMethod, Func<T, bool>^ canExecuteMethod ) |
Parameters
- executeMethod
- Type: System..::.Action<(Of <(T>)>)
[Missing <param name="executeMethod"/> documentation for "M:Developpez.Dotnet.Windows.Input.DelegateCommand`1.#ctor(System.Action{`0},System.Func{`0,System.Boolean})"]
- canExecuteMethod
- Type: System..::.Func<(Of <(T, Boolean>)>)
[Missing <param name="canExecuteMethod"/> documentation for "M:Developpez.Dotnet.Windows.Input.DelegateCommand`1.#ctor(System.Action{`0},System.Func{`0,System.Boolean})"]