Class LanguageTaggedString
A string with an associated lanugage
Inherited Members
Namespace: Algenta.Colectica.Model.Repository
Assembly: Algenta.Colectica.Model.dll
Syntax
public class LanguageTaggedString
Properties
LanguageTag
Associated language tag
Declaration
public string LanguageTag { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
Value
The string value
Declaration
public string Value { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
Operators
implicit operator string(LanguageTaggedString)
Allows automatic casting a LanguageTaggedString to a string.
Declaration
public static implicit operator string(LanguageTaggedString taggedString)
Parameters
| Type | Name | Description |
|---|---|---|
| LanguageTaggedString | taggedString | The LanguageTaggedString to cast. |
Returns
| Type | Description |
|---|---|
| string | The string. |
implicit operator LanguageTaggedString(string)
Allows automatically casting a string to a LanguageTaggedString.
Declaration
public static implicit operator LanguageTaggedString(string value)
Parameters
| Type | Name | Description |
|---|---|---|
| string | value | The string to cast. |
Returns
| Type | Description |
|---|---|
| LanguageTaggedString | The LanguageTaggedString |