Interface IHasVariables
Represents an object with a collection of variables, accessible hierarchically and observable.
Inherited Members
Namespace: EyeAuras.Shared.Model
Assembly: EyeAuras.Shared.Metadata.dll
Syntax
public interface IHasVariables : IDisposable, INotifyPropertyChanged, ICanSetVariables
Examples
Accessing a variable named "exampleVar":
var value = hasVariables.Variables.Lookup("exampleVar").Value.Value;
Adding or updating a variable named "exampleVar":
hasVariables.Variables.AddOrUpdate(new AuraVariable("exampleVar", 42));
Properties
Name | Description |
---|---|
Variables | Gets the collection of variables. This property provides access to the variables stored within the object, allowing for operations such as adding, removing, or updating variables. |