OptionString

ReferencesSince v9.0
public class OptionString : IDisposable
RhinoGet string option helper

Constructors

OptionString

#Since v9.0
public OptionString(string initialString, bool allowEmptyString)
Constructs the option object.
initialString (string)The initial value.
allowEmptyString (bool)If false, the value is not allowed to be changed to an empty string. It is allowed to remain empty if it starts out as empty. If true, the string is allowed to be changed to an empty string.

OptionString

#Since v9.0
public OptionString(string initialString)
Constructs the option object.
initialString (string)The initial value.

Finalizer

~OptionString

#
~OptionString()

Properties

CurrentValue

#Since v9.0
public string CurrentValue { get; set; }
Gets and sets the current value of the option.

InitialValue

#Since v9.0
public string InitialValue { get; }
Gets the initial value of the option.

Methods

Dispose

#Since v9.0
public void Dispose()

Dispose

#
protected void Dispose(bool disposing)
disposing (bool)