StringVariable
Derives from RuntimeVariable<T>.
Description
Represents an observable string value that can be shared and modified throughout the application.
Public Properties
IsNullOrEmpty : bool(get) - Whether the string isnullor"".IsNullOrWhiteSpace : bool(get) - Whether the string isnullor whitespace (including empty);
Public Methods
CopyFrom(StringVariable)- Copies the value of anotherStringVariableinto this variable.CopyTo(StringVariable)- Copies the value from this variable into anotherStringVariable.Stringify(bool)- Sets the value of this variable to the string representation of aboolvalue.Stringify(int)- Sets the value of this variable to the string representation of a signedintvalue.Stringify(float)- Sets the value of this variable to the string representation of afloatvalue.Stringify(double)- Sets the value of this variable to the string representation of adoublevalue.
NOTE: The Stringify() methods will format the string using CultureInfo.CurrentCulture.