Class AuraActionBase<TAuraProperties>
Implements
Inherited Members
Namespace: EyeAuras.Shared.Actions
Assembly: EyeAuras.Shared.dll
Syntax
public abstract class AuraActionBase<TAuraProperties> : AuraObjectBase<TAuraProperties>, IAuraObject<TAuraProperties>, IAuraAction, IAuraEntity, IAuraObject, IBindableReactiveObject, IHasId, IHasTypedId<string>, ICanSetContext, IHasContext, IHasErrors, IDisposable, INotifyPropertyChanged, IHasError, IHasErrorProvider, ICanSetName, IHasName, ICanSetDescription, IHasDescription where TAuraProperties : class, IAuraActionProperties, new()
Type Parameters
Name | Description |
---|---|
TAuraProperties |
Constructors
Name | Description |
---|---|
AuraActionBase() |
Properties
Name | Description |
---|---|
Description | Description of an item, could be localized |
IsBusy | Gets a value indicating whether the action is currently busy. |
IsIgnored | Indicates whether this Action is ignored (available for execution) or not |
Name | Name of an item(could be filename), usually un-localized and could be used in lookups |
NameSuffix | Suffix which will be appended to Name |
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. |
ExecuteInternal(CancellationToken) | |
FormatToString(ToStringBuilder) | |
VisitLoad(TAuraProperties) | |
VisitSave(TAuraProperties) |