Interface IAuraEvaluator
Represents an evaluator for monitoring and determining the state of a specific aura. The evaluator tracks the 'IsActive' state of the aura and compares it against a configured expected state.
Namespace: EyeAuras.Shared.Services
Assembly: EyeAuras.Shared.dll
Syntax
public interface IAuraEvaluator : IDisposable, INotifyPropertyChanged
Properties
Name | Description |
---|---|
Aura | Retrieves the aura instance that this evaluator is monitoring. Access to the aura allows for the evaluation of its current state and properties. |
AuraId | Gets the identifier of the aura this evaluator is associated with. This identifier is used to locate and reference the specific aura within the system. |
CyclicReferences | Provides a collection of auras that are part of a cyclic reference involving this evaluator. These references are critical for understanding the dependency structure and potential loops within aura evaluations. |
ExpectedIsActive | Represents the expected active state for the aura. The evaluator uses this to determine its own state: turning on if the aura's active state matches this expected state. |
IsActive | Indicates the current active state of the aura. Returns null if the aura is not loaded, otherwise returns true or false based on the aura's active state. |
IsCyclicReference | Indicates whether this evaluator is part of a cyclic reference within the aura. A cyclic reference occurs when the aura contains references that loop back to this evaluator. |