Struct AtomicBool32
Inherited Members
System.ValueType.ToString()
System.Object.Equals(System.Object, System.Object)
System.Object.GetType()
System.Object.ReferenceEquals(System.Object, System.Object)
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
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
Returns
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
Implicit(AtomicBool32 to Boolean)
Declaration
public static implicit operator bool (AtomicBool32 self)
Parameters
Returns
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
Inequality(AtomicBool32, AtomicBool32)
Declaration
public static bool operator !=(AtomicBool32 left, AtomicBool32 right)
Parameters
Returns
Type |
Description |
System.Boolean |
|
Implements
System.IEquatable<T>
Extension Methods
Sugar.Borrow<T>(T)
Sugar.Owner<T>(T)