Class TranslatableString
- Namespace
- Dynamicweb.CoreUI
- Assembly
- Dynamicweb.CoreUI.dll
Object to use for any string that needs to be translated. Use the same way as a string. I.e.
TranslatableString Label = 'some';
instead of string Label = 'some';
- Inheritance
-
Translatable
String
- Implements
- Inherited Members
Constructors
TranslatableString()
TranslatableString(FormattableString)
Parameters
formattable
FormattableString
TranslatableString(string)
Parameters
value
string
TranslatableString(string, params object?[])
Parameters
Properties
FormatArgs
Property Value
Methods
Equals(TranslatableString?)
Indicates whether the current object is equal to another object of the same type.
Parameters
other
TranslatableString An object to compare with this object.
Returns
Equals(string?)
Indicates whether the current object is equal to another object of the same type.
Parameters
other
stringAn object to compare with this object.
Returns
ToString()
Returns a string that represents the current object.
Returns
- string
A string that represents the current object.
Operators
implicit operator string?(TranslatableString)
Getter
Parameters
translatable
TranslatableString
Returns
implicit operator TranslatableString(FormattableString?)
Setter
Parameters
value
FormattableString
Returns
implicit operator TranslatableString(string?)
Setter
Parameters
value
string