HiLoValueGeneratorState.Next<TValue>(Func<Int64>) Method

Definition

Gets a value to be assigned to a property.

public virtual TValue Next<TValue> (Func<long> getNewLowValue);
abstract member Next : Func<int64> -> 'Value
override this.Next : Func<int64> -> 'Value
Public Overridable Function Next(Of TValue) (getNewLowValue As Func(Of Long)) As TValue

Type Parameters

TValue

The type of values being generated.

Parameters

getNewLowValue
Func<Int64>

A function to get the next low value if needed.

Returns

TValue

The value to be assigned to a property.

Applies to