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 | Gets or sets a value indicating whether this element is disabled by the user. |
IsMinimized | Gets or sets a value indicating whether this element should be shown in minimized form in UI |
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 or EA is Paused Realistically only Scripts/Waits really do support that |
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) |