Localized |
[SerializableAttribute] public class LocalizedString : IEquatable<LocalizedString>
The LocalizedString type exposes the following members.
Name | Description | |
---|---|---|
LocalizedString | Constructs a new localized string. |
Name | Description | |
---|---|---|
AvailableTranslationLanguages | Available language codes this instance is translated to. For instance "de", "en" and so on. | |
International | Returns international string. |
Name | Description | |
---|---|---|
AddTranslation | Adds a new translation to the string. Overrides the previous language translations if existed. | |
Equals(LocalizedString) | Check for equality. | |
Equals(Object) |
Check for equality.
(Overrides ObjectEquals(Object)) | |
GetHashCode |
Serves as a hash function for a particular type.
(Overrides ObjectGetHashCode) | |
GetTranslation | Returns translation for the specified language. Falls back to international string if translation does not exist. | |
GetType | Gets the Type of the current instance. (Inherited from Object) | |
ToString |
Returns international string
(Overrides ObjectToString) |
Name | Description | |
---|---|---|
Equality(LocalizedString, LocalizedString) | Check for equality. | |
Inequality(LocalizedString, LocalizedString) | Check for non-equality. |
Name | Description | |
---|---|---|
CloneWithValueReplacement | (Defined by DiffEngine) |