Table of Contents

Constructor Command

Namespace
Alternet.UI
Assembly
Alternet.UI.Common.dll

Command()

Initializes a new instance of the Command class.

public Command()

Command(Action)

Initializes a new instance of the Command class with the specified action.

public Command(Action action)

Parameters

action Action

Command(Action, Func<bool>?)

Initializes a new instance of the Command class with the specified action and canExecute.

public Command(Action action, Func<bool>? canExecute)

Parameters

action Action
canExecute Func<bool>

Command(ExecuteDelegate)

Initializes a new instance of the Command class with the specified executeDelegate.

public Command(Command.ExecuteDelegate executeDelegate)

Parameters

executeDelegate Command.ExecuteDelegate

Command(ExecuteDelegate, CanExecuteDelegate?)

Initializes a new instance of the Command class with the specified executeDelegate and canExecuteDelegate.

public Command(Command.ExecuteDelegate executeDelegate, Command.CanExecuteDelegate? canExecuteDelegate)

Parameters

executeDelegate Command.ExecuteDelegate
canExecuteDelegate Command.CanExecuteDelegate