OptionInteger

References
public class OptionInteger : IDisposable

Constructors

OptionInteger

#Since v5.0
Initializes a new instance of the OptionInteger class.
public OptionInteger(
initialValue,
The initial value.
setLowerLimit,
If true, limit sets the lower limit and upper limit is undefined If false, limit sets the upper limit and lower limit is undefined.
limit
If setLowerLimit is true, then limit is the minimum value. Otherwise, it is the maximum.
)

OptionInteger

#ExampleSince v5.0
Initializes a new instance of the OptionInteger class with both lower and upper limits.
public OptionInteger(
initialValue,
The initial value.
lowerLimit,
The minimum value.
upperLimit
The maximum value.
)

OptionInteger

#Since v5.0
public OptionInteger(
initialValue
)

Finalizer

~OptionInteger

#
~OptionInteger()

Properties

CurrentValue

#ExampleSince v5.0
public int CurrentValue { get; set; }

InitialValue

#Since v5.0
public int InitialValue { get; }

Methods

Dispose

#Since v5.0
public void Dispose()

Dispose

#
protected void Dispose(
disposing
)