Class RequestCulture
Culture information describing a Culture
public class RequestCulture
- Inheritance
-
objectRequestCulture
Constructors
RequestCulture(CultureInfo)
Creates a new RequestCulture object with its Culture and UICulture properties set to the same System.Globalization.CultureInfo value.
public RequestCulture(CultureInfo culture)
Parameters
cultureCultureInfoThe System.Globalization.CultureInfo for the request.
RequestCulture(CultureInfo, CultureInfo)
Creates a new RequestCulture object with its Culture and UICulture properties set to the respective System.Globalization.CultureInfo values provided.
public RequestCulture(CultureInfo culture, CultureInfo uiCulture)
Parameters
cultureCultureInfoThe System.Globalization.CultureInfo for the request to be used for formatting.
uiCultureCultureInfoThe System.Globalization.CultureInfo for the request to be used for text, i.e. language.
RequestCulture(string)
Creates a new RequestCulture object with its Culture and UICulture properties set to the same System.Globalization.CultureInfo value.
public RequestCulture(string culture)
Parameters
culturestringThe culture for the request.
RequestCulture(string, string)
Creates a new RequestCulture object with its Culture and UICulture properties set to the respective System.Globalization.CultureInfo values provided.
public RequestCulture(string culture, string uiCulture)
Parameters
culturestringThe culture for the request to be used for formatting.
uiCulturestringThe culture for the request to be used for text, i.e. language.
Properties
Culture
Gets the System.Globalization.CultureInfo for the request to be used for formatting.
public CultureInfo Culture { get; }
Property Value
- CultureInfo
UICulture
Gets the System.Globalization.CultureInfo for the request to be used for text, i.e. language;
public CultureInfo UICulture { get; }
Property Value
- CultureInfo