Interface IAuraAction
Defines the properties and methods for an Aura action. This interface inherits from the IAuraEntity interface.
Inherited Members
Namespace: EyeAuras.Shared.Actions
Assembly: EyeAuras.Shared.dll
Syntax
public interface IAuraAction : IAuraEntity, IAuraObject, IBindableReactiveObject, IHasId, IHasTypedId<string>, ICanSetContext, IHasContext, IHasErrors, IDisposable, INotifyPropertyChanged, IHasError, IHasErrorProvider, ICanSetName, IHasName, ICanSetDescription, IHasDescription
Properties
Name | Description |
---|---|
IsBusy | Gets a value indicating whether the action is currently busy. |
IsIgnored | Indicates whether this Action is ignored (available for execution) or not |
SupportsCancellation | Gets a value indicating that this exact action supports graceful cancellation. If set, aura will try to cancel the action whenever it is required, e.g. if trigger is deactivated/activated |
Methods
Name | Description |
---|---|
Cancel() | Cancels the execution of the action, if it is currently running. |
Execute(CancellationToken) | Executes the action with support for parent cancellation. The action can be cancelled (if supported) by calling the Cancel method either on the action itself or on the parent. |
ExecuteAsync(CancellationToken) | Executes the action with support for parent cancellation. The action can be cancelled (if supported) by calling the Cancel method either on the action itself or on the parent. |