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

Search Results for

    Class AtomicFlag

    Provides a thread-safe flag that can be set atomically. This class is optimized for performance in multi-threaded environments.

    Inheritance
    object
    AtomicFlag
    Implements
    IEquatable<AtomicFlag>
    Inherited Members
    object.GetType()
    object.Equals(object, object)
    object.ReferenceEquals(object, object)
    Namespace: PoeShared.Scaffolding
    Assembly: PoeShared.dll
    Syntax
    public sealed record AtomicFlag : IEquatable<AtomicFlag>

    Constructors

    Name Description
    AtomicFlag()

    Initializes a new instance of the AtomicFlag class. The flag is initially not set.

    Properties

    Name Description
    IsSet

    Gets a value indicating whether the flag is set. This property is thread-safe.

    Performance Note: Uses Read(ref bool) for a low-overhead atomic read operation. Marked for aggressive inlining to reduce method call overhead.

    Methods

    Name Description
    Equals(AtomicFlag?)
    Equals(object?)
    GetHashCode()
    Set()

    Sets the flag to true if it is not already set. This method is thread-safe.

    Performance Note: Uses Exchange(ref double, double) to ensure atomicity of the set operation. Marked for aggressive inlining to reduce method call overhead.

    Returns: True if the flag was set by this call; false if the flag was already set.

    ToString()
    <Clone>$()

    Operators

    Name Description
    operator ==(AtomicFlag?, AtomicFlag?)
    operator !=(AtomicFlag?, AtomicFlag?)

    Extension Methods

    ReactiveObjectExtensions.Listen<TContext, TItem>(TContext, Expression<Func<TContext, IObservableList<TItem>>>)
    ReactiveObjectExtensions.Listen<TContext, TOut>(TContext, Expression<Func<TContext, TOut>>)
    ReactiveObjectExtensions.Listen<TContext, TOut1, TOut2>(TContext, Expression<Func<TContext, TOut1>>, Expression<Func<TContext, TOut2>>)
    ReactiveObjectExtensions.Listen<TContext, TOut1, TOut2, TOut3>(TContext, Expression<Func<TContext, TOut1>>, Expression<Func<TContext, TOut2>>, Expression<Func<TContext, TOut3>>)
    ReactiveObjectExtensions.Listen<TContext, TOut1, TOut2, TOut3, TOut4>(TContext, Expression<Func<TContext, TOut1>>, Expression<Func<TContext, TOut2>>, Expression<Func<TContext, TOut3>>, Expression<Func<TContext, TOut4>>)
    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.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)
    ObjectExtensions.ToStringSafe<T>(T)
    ObjectExtensions.TransferPropertiesTo<TSource, TTarget>(TSource, TTarget, params string[])
    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)
    © Xab3r. All rights reserved.