EyeAuras Docs EyeAuras Docs
EyeAuras Docs EyeAuras Docs
DocFX + Singulink = ♥

Search Results for

    Interface IHasVariables

    Represents an object with a collection of variables, accessible hierarchically and observable.

    Inherited Members
    IDisposable.Dispose()
    INotifyPropertyChanged.PropertyChanged
    ICanSetVariables.this[string]
    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.

    Extension Methods

    ObjectExtensions.AddTo<TItem, TCollection>(TItem, ISourceList<TCollection>)
    ObjectExtensions.AddTo<TItem, TCollection>(TItem, ICollection<TCollection>)
    ObjectExtensions.CloneJson<T>(T)
    ObjectExtensions.CopyPropertiesTo<TSource, TTarget>(TSource, TTarget)
    ObjectExtensions.DumpToJson<T>(T)
    ObjectExtensions.DumpToTextRaw<T>(T)
    ObjectExtensions.DumpToText<T>(T)
    ObjectExtensions.Dump<T>(T)
    ObjectExtensions.EvalOrDefault<T, TValue>(T, Func<T, TValue>, TValue)
    ObjectExtensions.Eval<T, TValue>(T, Func<T, TValue>)
    ObjectExtensions.GetPropertyAccessor<TSource, TValue>(TSource, Expression<Func<TSource, TValue>>)
    ObjectExtensions.InsertTo<TItem, TCollection>(TItem, IList<TCollection>, int)
    ObjectExtensions.ToJson<T>(T, Formatting)
    ObjectExtensions.ToStringSafe<T>(T)
    ObjectExtensions.TransferPropertiesTo<TSource, TTarget>(TSource, TTarget, params string[])
    ObjectExtensions.WaitForAsync<TObject, T1>(TObject, Func<TObject, T1>, Predicate<T1>, TimeSpan, int)
    XDocumentExtensions.AddTo<T>(T, XContainer)
    ObjectExtensions.GetPropertyAccessor<TValue>(object, string)
    ObjectReflectionExtensions.GetPropertyTypeOrDefault(object, string)
    ObjectReflectionExtensions.GetPropertyValue<T>(object, string)
    ObjectReflectionExtensions.SetPropertyValue<T>(object, string, T)
    2025 © Xab3r. All rights reserved.