Class AuraStateDescriptor
Represents the expected state of an aura for a specific condition. This class is used to describe what state an aura should be in when evaluated as part of an AuraEvaluatorProperties.
Implements
Inherited Members
Namespace: EyeAuras.Shared.Modularity
Assembly: EyeAuras.Shared.Metadata.dll
Syntax
public sealed record AuraStateDescriptor : IEquatable<AuraStateDescriptor>
Constructors
| Name | Description |
|---|---|
| AuraStateDescriptor() |
Properties
| Name | Description |
|---|---|
| AuraId | Gets or sets the unique identifier of the aura. This ID is used to reference the specific aura whose state is being described. |
| Condition | Gets or sets the condition type for evaluating the aura. This defines the criteria used to evaluate the aura's state. |
| FolderId | Gets or sets the identifier of the folder containing the aura. This can be used to specify a group of auras if necessary. |
| Id | |
| IsActive | Gets or sets a value indicating whether the aura is expected to be active. This can be used to specify if the aura should be actively running or not. |
| IsEmpty | Gets a value indicating whether the descriptor is empty. An empty descriptor means neither an AuraId nor a FolderId is specified. |
| IsLoaded | Gets or sets a value indicating whether the aura is expected to be loaded. This can specify if the aura should be loaded into memory or not. |
| IsValid | Gets a value indicating whether the descriptor is valid. A valid descriptor is not empty. |
| ItemId | Gets or sets the unique identifier of the aura. This ID is used to reference the specific aura whose state is being described. |
Methods
| Name | Description |
|---|---|
| Equals(AuraStateDescriptor?) | |
| Equals(object?) | |
| GetHashCode() | |
| ToString() | |
| <Clone>$() |
Operators
| Name | Description |
|---|---|
| operator ==(AuraStateDescriptor?, AuraStateDescriptor?) | |
| operator !=(AuraStateDescriptor?, AuraStateDescriptor?) |