Search Results for

    Show / Hide Table of Contents

    Struct AtomicBool32

    Implements
    System.IEquatable<AtomicBool32>
    Inherited Members
    System.ValueType.ToString()
    System.Object.Equals(System.Object, System.Object)
    System.Object.GetType()
    System.Object.ReferenceEquals(System.Object, System.Object)
    Namespace: LibSugar
    Assembly: LibSugar.dll
    Syntax
    public struct AtomicBool32 : IEquatable<AtomicBool32>

    Constructors

    | Improve this Doc View Source

    AtomicBool32(Boolean)

    Declaration
    public AtomicBool32(bool v)
    Parameters
    Type Name Description
    System.Boolean v

    Properties

    | Improve this Doc View Source

    Value

    Declaration
    public bool Value { get; set; }
    Property Value
    Type Description
    System.Boolean

    Methods

    | Improve this Doc View Source

    CompareExchange(Boolean, Boolean)

    Declaration
    public bool CompareExchange(bool value, bool comparand)
    Parameters
    Type Name Description
    System.Boolean value
    System.Boolean comparand
    Returns
    Type Description
    System.Boolean
    | Improve this Doc View Source

    Equals(AtomicBool32)

    Declaration
    public bool Equals(AtomicBool32 other)
    Parameters
    Type Name Description
    AtomicBool32 other
    Returns
    Type Description
    System.Boolean
    | Improve this Doc View Source

    Equals(Object)

    Declaration
    public override bool Equals(object obj)
    Parameters
    Type Name Description
    System.Object obj
    Returns
    Type Description
    System.Boolean
    Overrides
    System.ValueType.Equals(System.Object)
    | Improve this Doc View Source

    Exchange(Boolean)

    Declaration
    public bool Exchange(bool value)
    Parameters
    Type Name Description
    System.Boolean value
    Returns
    Type Description
    System.Boolean
    | Improve this Doc View Source

    GetHashCode()

    Declaration
    public override int GetHashCode()
    Returns
    Type Description
    System.Int32
    Overrides
    System.ValueType.GetHashCode()

    Operators

    | Improve this Doc View Source

    Equality(AtomicBool32, AtomicBool32)

    Declaration
    public static bool operator ==(AtomicBool32 left, AtomicBool32 right)
    Parameters
    Type Name Description
    AtomicBool32 left
    AtomicBool32 right
    Returns
    Type Description
    System.Boolean
    | Improve this Doc View Source

    Implicit(AtomicBool32 to Boolean)

    Declaration
    public static implicit operator bool (AtomicBool32 self)
    Parameters
    Type Name Description
    AtomicBool32 self
    Returns
    Type Description
    System.Boolean
    | Improve this Doc View Source

    Inequality(AtomicBool32, AtomicBool32)

    Declaration
    public static bool operator !=(AtomicBool32 left, AtomicBool32 right)
    Parameters
    Type Name Description
    AtomicBool32 left
    AtomicBool32 right
    Returns
    Type Description
    System.Boolean

    Implements

    System.IEquatable<T>

    Extension Methods

    Sugar.Borrow<T>(T)
    Sugar.Owner<T>(T)
    Sugar.AssertEq<T>(T, T)
    Sugar.AssertNe<T>(T, T)
    Sugar.Box<T>(T)
    Sugar.Ref<T>(T)
    Sugar.Let<T, U>(T, Func<T, U>)
    Sugar.LetIf<T>(T, Boolean, Func<T, T>)
    Sugar.Also<T>(T, Action<T>)
    Sugar.AlsoIf<T>(T, Boolean, Action<T>)
    Sugar.MovableBy<T>(T, MovableBy<T>.Drop)
    Sugar.MovableByUnmanaged<T>(T, MovableByUnmanaged<T>.Drop)
    Sugar.Seq<T>(T)
    Sugar.Seq<T>(T, T[])
    Sugar.Repeat<T>(T, Int32)
    SugarStruct.Swap<T>(ref T, T)
    SugarStruct.Swap<T>(ref T, in T)
    • Improve this Doc
    • View Source
    In This Article
    Back to top Copyright © LibSugar.
    Generated by DocFX