Class AtomicBoolean
Inherited Members
Namespace: LaunchDarkly.Sdk.Internal.Concurrent
Assembly: LaunchDarkly.InternalSdk.dll
Syntax
public sealed class AtomicBoolean
Constructors
AtomicBoolean(bool)
Declaration
public AtomicBoolean(bool value)
Parameters
Type | Name | Description |
---|---|---|
bool | value |
Methods
Get()
Declaration
public bool Get()
Returns
Type | Description |
---|---|
bool |
GetAndSet(bool)
Declaration
public bool GetAndSet(bool newValue)
Parameters
Type | Name | Description |
---|---|---|
bool | newValue |
Returns
Type | Description |
---|---|
bool |