RelayCommand Constructor (Action<Object>)
Creates a new command that can always execute.
Namespace: Microsoft.TeamFoundation.MVVM
Assembly: Microsoft.TeamFoundation.Controls (in Microsoft.TeamFoundation.Controls.dll)
Syntax
'Declaration
Public Sub New ( _
execute As Action(Of Object) _
)
public RelayCommand(
Action<Object> execute
)
public:
RelayCommand(
Action<Object^>^ execute
)
new :
execute:Action<Object> -> RelayCommand
public function RelayCommand(
execute : Action<Object>
)
Parameters
execute
Type: System.Action<Object>The execution logic.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.