Class LocalizedString
Inheritance
System.Object
LocalizedString
Implements
System.Collections.IEnumerable
System.ICloneable
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Assembly: Sdl.LanguagePlatform.Core.dll
public class LocalizedString : IEnumerable<CultureString>, IEnumerable, ICloneable
Constructors
Declaration
Declaration
public LocalizedString(LocalizedString other)
Parameters
Declaration
public LocalizedString(string text)
Parameters
Type |
Name |
Description |
System.String |
text |
|
Properties
Declaration
public int Count { get; }
Property Value
Type |
Description |
System.Int32 |
|
InvariantText
Declaration
public string InvariantText { get; set; }
Property Value
Type |
Description |
System.String |
|
Text
Declaration
public string Text { get; set; }
Property Value
Type |
Description |
System.String |
|
Methods
Declaration
public void Add(object o)
Parameters
Type |
Name |
Description |
System.Object |
o |
|
Declaration
Returns
Type |
Description |
System.Object |
|
DeleteText(CultureInfo)
Declaration
public void DeleteText(CultureInfo culture)
Parameters
Type |
Name |
Description |
System.Globalization.CultureInfo |
culture |
|
DeleteText(CultureInfo, Boolean)
Declaration
public void DeleteText(CultureInfo culture, bool mayFallback)
Parameters
Type |
Name |
Description |
System.Globalization.CultureInfo |
culture |
|
System.Boolean |
mayFallback |
|
Declaration
public IEnumerator<CultureString> GetEnumerator()
Returns
Type |
Description |
System.Collections.Generic.IEnumerator<CultureString> |
|
GetText(CultureInfo)
Declaration
public string GetText(CultureInfo culture)
Parameters
Type |
Name |
Description |
System.Globalization.CultureInfo |
culture |
|
Returns
Type |
Description |
System.String |
|
GetText(CultureInfo, Boolean)
Declaration
public string GetText(CultureInfo culture, bool mayFallback)
Parameters
Type |
Name |
Description |
System.Globalization.CultureInfo |
culture |
|
System.Boolean |
mayFallback |
|
Returns
Type |
Description |
System.String |
|
SetText(CultureInfo, String)
Declaration
public void SetText(CultureInfo culture, string text)
Parameters
Type |
Name |
Description |
System.Globalization.CultureInfo |
culture |
|
System.String |
text |
|
SetText(CultureInfo, String, Boolean)
Declaration
public void SetText(CultureInfo culture, string text, bool mayFallback)
Parameters
Type |
Name |
Description |
System.Globalization.CultureInfo |
culture |
|
System.String |
text |
|
System.Boolean |
mayFallback |
|
Declaration
public override string ToString()
Returns
Type |
Description |
System.String |
|
Overrides
System.Object.ToString()
Explicit Interface Implementations
Declaration
IEnumerator IEnumerable.GetEnumerator()
Returns
Type |
Description |
System.Collections.IEnumerator |
|
Implements
System.Collections.Generic.IEnumerable<T>
System.Collections.IEnumerable
System.ICloneable