HiLoValueGeneratorState HiLoValueGeneratorState Class

Definition

The thread safe state used by HiLoValueGenerator<TValue>.

public class HiLoValueGeneratorState
Public Class HiLoValueGeneratorState
Inheritance
System.ObjectSystem.Object
HiLoValueGeneratorStateHiLoValueGeneratorState

Constructors

HiLoValueGeneratorState(Int32) HiLoValueGeneratorState(Int32)

Initializes a new instance of the HiLoValueGeneratorState class.

Methods

System.Object.Equals(System.Object) System.Object.Equals(System.Object) Inherited from System.Object
System.Object.Equals(System.Object, System.Object) System.Object.Equals(System.Object, System.Object) Inherited from System.Object
System.Object.GetHashCode() System.Object.GetHashCode() Inherited from System.Object
System.Object.GetType() System.Object.GetType() Inherited from System.Object
System.Object.MemberwiseClone() System.Object.MemberwiseClone() Inherited from System.Object
Next<TValue>(Func<Int64>) Next(Of TValue)(Func(Of Int64))

Gets a value to be assigned to a property.

NextAsync<TValue>(Func<CancellationToken, Task<Int64>>, CancellationToken) NextAsync(Of TValue)(Func(Of CancellationToken, Task(Of Int64)), CancellationToken)

Gets a value to be assigned to a property.

System.Object.ReferenceEquals(System.Object, System.Object) System.Object.ReferenceEquals(System.Object, System.Object) Inherited from System.Object
System.Object.ToString() System.Object.ToString() Inherited from System.Object