Stores a localized text value.
More...
Inherits IComparable, IFormattable, and ICloneable.
|
string | Locale [get, set] |
| Gets the locale. More...
|
|
string | Text [get, set] |
| Gets the text. More...
|
|
string | Key [get, set] |
| Gets the key used to local up a translation. More...
|
|
object[] | Args [get, set] |
| Gets the argument used to format a string during translation. More...
|
|
Stores a localized text value.
UnifiedAutomation.UaBase.LocalizedText.LocalizedText |
( |
| ) |
|
|
inline |
UnifiedAutomation.UaBase.LocalizedText.LocalizedText |
( |
string |
text | ) |
|
|
inline |
Initializes a new instance of the LocalizedText class.
- Parameters
-
UnifiedAutomation.UaBase.LocalizedText.LocalizedText |
( |
string |
locale, |
|
|
string |
text |
|
) |
| |
|
inline |
Initializes a new instance of the LocalizedText class.
- Parameters
-
locale | The locale. |
text | The text. |
UnifiedAutomation.UaBase.LocalizedText.LocalizedText |
( |
string |
key, |
|
|
string |
locale, |
|
|
string |
text, |
|
|
params object[] |
args |
|
) |
| |
|
inline |
Initializes a new instance of the LocalizedText class.
- Parameters
-
key | The key. |
locale | The locale. |
text | The text. |
args | The args. |
object UnifiedAutomation.UaBase.LocalizedText.Clone |
( |
| ) |
|
|
inline |
Creates a deep copy of the object.
int UnifiedAutomation.UaBase.LocalizedText.CompareTo |
( |
object |
obj | ) |
|
|
inline |
Compares the instance to another object.
- Parameters
-
obj | The object to compare to this object |
override bool UnifiedAutomation.UaBase.LocalizedText.Equals |
( |
object |
obj | ) |
|
|
inline |
Returns true if the object is equal to the instance.
string UnifiedAutomation.UaBase.LocalizedText.Format |
( |
| ) |
|
|
inline |
Formats a node id as a string.
void UnifiedAutomation.UaBase.LocalizedText.Format |
( |
StringBuilder |
buffer | ) |
|
|
inline |
Formats the node ids as string and adds it to the buffer.
override int UnifiedAutomation.UaBase.LocalizedText.GetHashCode |
( |
| ) |
|
|
inline |
Returns a hash code for the instance.
static bool UnifiedAutomation.UaBase.LocalizedText.IsNullOrEmpty |
( |
LocalizedText |
text | ) |
|
|
inlinestatic |
Determines whether the object is a null or empty value.
- Parameters
-
- Returns
true
if the text is a null or empty value; otherwise, false
.
static implicit UnifiedAutomation.UaBase.LocalizedText.operator LocalizedText |
( |
string |
text | ) |
|
|
inlinestatic |
Implements the operator !=.
- Parameters
-
text1 | The text1. |
text2 | The text2. |
- Returns
- The result of the operator.
Implements the operator ==.
- Parameters
-
text1 | The text1. |
text2 | The text2. |
- Returns
- The result of the operator.
static LocalizedText UnifiedAutomation.UaBase.LocalizedText.Parse |
( |
string |
text | ) |
|
|
inlinestatic |
Parses the specified text (with the format [xx-XX]:[text] where the locale prefix is optional).
- Parameters
-
- Returns
override string UnifiedAutomation.UaBase.LocalizedText.ToString |
( |
| ) |
|
|
inline |
Formats the object as a string.
string UnifiedAutomation.UaBase.LocalizedText.ToString |
( |
string |
format, |
|
|
IFormatProvider |
formatProvider |
|
) |
| |
|
inline |
Formats the object as a string.
A constant representing a Null value.
object [] UnifiedAutomation.UaBase.LocalizedText.Args |
|
getset |
Gets the argument used to format a string during translation.
string UnifiedAutomation.UaBase.LocalizedText.Key |
|
getset |
Gets the key used to local up a translation.
string UnifiedAutomation.UaBase.LocalizedText.Locale |
|
getset |
string UnifiedAutomation.UaBase.LocalizedText.Text |
|
getset |
The documentation for this class was generated from the following file:
- C:/work/uasdknet/src/UaBase/BuiltIn/LocalizedText.cs