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
culture
CultureInfoThe 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
culture
CultureInfoThe System.Globalization.CultureInfo for the request to be used for formatting.
uiCulture
CultureInfoThe 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
culture
stringThe 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
culture
stringThe culture for the request to be used for formatting.
uiCulture
stringThe 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