Class Incrementer
Implements
Inherited Members
Namespace: Platform.Incrementers
Assembly: Platform.Incrementers.dll
Syntax
public class Incrementer : IIncrementer
Remarks
Must be class, not struct (in order to persist access to Result field value).
Constructors
| Improve this Doc View SourceIncrementer()
Initializes a new Incrementer instance.
Declaration
public Incrementer()
Incrementer(UInt64)
Initializes a new Incrementer instance.
Declaration
public Incrementer(ulong initialValue)
Parameters
Type | Name | Description |
---|---|---|
UInt64 | initialValue | A initial value.
|
Fields
| Improve this Doc View Source_result
The result.
Declaration
protected ulong _result
Field Value
Type | Description |
---|---|
UInt64 |
Properties
| Improve this Doc View SourceResult
Gets the result value.
Declaration
public ulong Result { get; }
Property Value
Type | Description |
---|---|
UInt64 |
Methods
| Improve this Doc View SourceIncrement()
Increments this instance.
Declaration
public void Increment()