LocalizedText Struct
Assembly: PTS.Modules.InternationalComponent.dll
Syntax
public struct LocalizedText
Constructors
LocalizedText(Int64)
Declaration
public LocalizedText(long id)
Parameters
Type |
Name |
Description |
System.Int64 |
id |
|
LocalizedText(Int64, LanguageCode)
Declaration
public LocalizedText(long id, LanguageCode language)
Parameters
LocalizedText(Int64, LanguageCode, String)
Declaration
public LocalizedText(long id, LanguageCode language, string value)
Parameters
Type |
Name |
Description |
System.Int64 |
id |
|
LanguageCode |
language |
|
System.String |
value |
|
LocalizedText(Int64, LanguageCode, String, String)
Declaration
public LocalizedText(long id, LanguageCode language, string value, string note)
Parameters
Type |
Name |
Description |
System.Int64 |
id |
|
LanguageCode |
language |
|
System.String |
value |
|
System.String |
note |
|
LocalizedText(String)
Declaration
public LocalizedText(string value)
Parameters
Type |
Name |
Description |
System.String |
value |
|
LocalizedText(String, LanguageCode)
Declaration
public LocalizedText(string value, LanguageCode language)
Parameters
Type |
Name |
Description |
System.String |
value |
|
LanguageCode |
language |
|
LocalizedText(String, LocalizedText)
Declaration
public LocalizedText(string value, LocalizedText otherText)
Parameters
Type |
Name |
Description |
System.String |
value |
|
LocalizedText |
otherText |
|
Fields
Id
Declaration
Field Value
Type |
Description |
System.Int64 |
|
Language
Declaration
public LanguageCode Language
Field Value
Note
Declaration
Field Value
Type |
Description |
System.String |
|
Value
Declaration
Field Value
Type |
Description |
System.String |
|
Properties
IsEmpty
Declaration
public bool IsEmpty { get; }
Property Value
Type |
Description |
System.Boolean |
|
Methods
Clone(String)
Declaration
public LocalizedText Clone(string value)
Parameters
Type |
Name |
Description |
System.String |
value |
|
Returns
FillVariables(Object[])
Declaration
public LocalizedText FillVariables(params object[] values)
Parameters
Type |
Name |
Description |
System.Object[] |
values |
|
Returns
HtmlEscape()
Declaration
public LocalizedText HtmlEscape()
Returns
ToString()
Declaration
public override string ToString()
Returns
Type |
Description |
System.String |
|
Overrides
System.ValueType.ToString()
Operators
Implicit(LocalizedText to String)
Declaration
public static implicit operator string (LocalizedText text)
Parameters
Returns
Type |
Description |
System.String |
|
Implicit(String to LocalizedText)
Declaration
public static implicit operator LocalizedText(string value)
Parameters
Type |
Name |
Description |
System.String |
value |
|
Returns
Inherited Members
System.ValueType.Equals(System.Object)
System.ValueType.GetHashCode()
System.Object.Equals(System.Object, System.Object)
System.Object.GetType()
System.Object.ReferenceEquals(System.Object, System.Object)
Extension Methods