Share via


SimpleCommand Constructor

Namespace:  Microsoft.TeamFoundation.Build.Controls
Assembly:  Microsoft.TeamFoundation.Build.Controls (in Microsoft.TeamFoundation.Build.Controls.dll)

Syntax

'Declaration
Public Sub New ( _
    canExecute As Func(Of Object, Boolean), _
    execute As Action(Of Object) _
)
public SimpleCommand(
    Func<Object, bool> canExecute,
    Action<Object> execute
)
public:
SimpleCommand(
    Func<Object^, bool>^ canExecute, 
    Action<Object^>^ execute
)
new : 
        canExecute:Func<Object, bool> * 
        execute:Action<Object> -> SimpleCommand
public function SimpleCommand(
    canExecute : Func<Object, boolean>, 
    execute : Action<Object>
)

Parameters

.NET Framework Security

See Also

Reference

SimpleCommand Class

Microsoft.TeamFoundation.Build.Controls Namespace