LongSequence¶
In-memory long sequence generator for value ranges that exceed int capacity; not thread-safe.*
Purpose¶
- In-memory
longsequence generator for value ranges that exceedintcapacity; not thread-safe.*
Context¶
- Namespace:
SAIF.Common - Assembly/package:
SAIF.Framework.Common
Public members¶
| Member | Signature | Purpose |
|---|---|---|
| NextValue | public override long NextValue { get; } |
Pre-increments and returns CurrentValue as a long. (BR-066) |
| Reset() | public override void Reset() |
Resets CurrentValue to 0. |
| LongSequence(long startValue = 0) | public LongSequence(long startValue = 0) |
Constructs the sequence, defaulting the starting value to 0. |
Note: Statements marked with * were inferred from code structure, naming conventions, or contextual evidence where direct confirmation was not available in source artifacts. Statements marked with ** could not be confirmed; treat as unknown until verified.
Sources¶
Common/SAIF.Common/Classes/LongSequence.cs