Class CommandAction
Action that executes a command.
Implements
INotifyPropertyChanged
IDisposable
IDataErrorInfo
INotifyDataErrorInfo
Inherited Members
Namespace: ISynergy.Framework.Automations.Actions
Assembly: ISynergy.Framework.Automations.dll
Syntax
public class CommandAction : BaseAction, IObservableClass, IBindable, IAction
Constructors
View SourceCommandAction(Guid, ICommand, Object)
Default constructor for command action.
Declaration
public CommandAction(Guid automationId, ICommand command, object commandParameter = null)
Parameters
Type | Name | Description |
---|---|---|
Guid | automationId | |
ICommand | command | |
System.Object | commandParameter |
Properties
View SourceCommand
Gets or sets the Command property value.
Declaration
public ICommand Command { get; set; }
Property Value
Type | Description |
---|---|
ICommand |
CommandParameter
Gets or sets the CommandParameter property value.
Declaration
public object CommandParameter { get; set; }
Property Value
Type | Description |
---|---|
System.Object |
Timeout
Gets or sets the Timeout property value.
Declaration
public TimeSpan Timeout { get; set; }
Property Value
Type | Description |
---|---|
TimeSpan |
Implements
INotifyPropertyChanged
IDisposable
IDataErrorInfo
INotifyDataErrorInfo