OptionInteger

References
public class OptionInteger : IDisposable

Constructors

OptionInteger

#Since v5.0
public OptionInteger(int initialValue, bool setLowerLimit, int limit)
Initializes a new instance of the OptionInteger class.
initialValue (int)The initial value.
setLowerLimit (bool)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 (int)If setLowerLimit is true, then limit is the minimum value. Otherwise, it is the maximum.

OptionInteger

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

OptionInteger

#Since v5.0
public OptionInteger(int initialValue)
initialValue (int)

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(bool disposing)
disposing (bool)