Dela via


RequestCulture Constructors

Definition

Overloads

RequestCulture(CultureInfo)

Creates a new RequestCulture object with its Culture and UICulture properties set to the same CultureInfo value.

RequestCulture(String)

Creates a new RequestCulture object with its Culture and UICulture properties set to the same CultureInfo value.

RequestCulture(CultureInfo, CultureInfo)

Creates a new RequestCulture object with its Culture and UICulture properties set to the respective CultureInfo values provided.

RequestCulture(String, String)

Creates a new RequestCulture object with its Culture and UICulture properties set to the respective CultureInfo values provided.

RequestCulture(CultureInfo)

Source:
RequestCulture.cs
Source:
RequestCulture.cs
Source:
RequestCulture.cs

Creates a new RequestCulture object with its Culture and UICulture properties set to the same CultureInfo value.

public:
 RequestCulture(System::Globalization::CultureInfo ^ culture);
public RequestCulture (System.Globalization.CultureInfo culture);
new Microsoft.AspNetCore.Localization.RequestCulture : System.Globalization.CultureInfo -> Microsoft.AspNetCore.Localization.RequestCulture
Public Sub New (culture As CultureInfo)

Parameters

culture
CultureInfo

The CultureInfo for the request.

Applies to

RequestCulture(String)

Source:
RequestCulture.cs
Source:
RequestCulture.cs
Source:
RequestCulture.cs

Creates a new RequestCulture object with its Culture and UICulture properties set to the same CultureInfo value.

public:
 RequestCulture(System::String ^ culture);
public RequestCulture (string culture);
new Microsoft.AspNetCore.Localization.RequestCulture : string -> Microsoft.AspNetCore.Localization.RequestCulture
Public Sub New (culture As String)

Parameters

culture
String

The culture for the request.

Applies to

RequestCulture(CultureInfo, CultureInfo)

Source:
RequestCulture.cs
Source:
RequestCulture.cs
Source:
RequestCulture.cs

Creates a new RequestCulture object with its Culture and UICulture properties set to the respective CultureInfo values provided.

public:
 RequestCulture(System::Globalization::CultureInfo ^ culture, System::Globalization::CultureInfo ^ uiCulture);
public RequestCulture (System.Globalization.CultureInfo culture, System.Globalization.CultureInfo uiCulture);
new Microsoft.AspNetCore.Localization.RequestCulture : System.Globalization.CultureInfo * System.Globalization.CultureInfo -> Microsoft.AspNetCore.Localization.RequestCulture
Public Sub New (culture As CultureInfo, uiCulture As CultureInfo)

Parameters

culture
CultureInfo

The CultureInfo for the request to be used for formatting.

uiCulture
CultureInfo

The CultureInfo for the request to be used for text, i.e. language.

Applies to

RequestCulture(String, String)

Source:
RequestCulture.cs
Source:
RequestCulture.cs
Source:
RequestCulture.cs

Creates a new RequestCulture object with its Culture and UICulture properties set to the respective CultureInfo values provided.

public:
 RequestCulture(System::String ^ culture, System::String ^ uiCulture);
public RequestCulture (string culture, string uiCulture);
new Microsoft.AspNetCore.Localization.RequestCulture : string * string -> Microsoft.AspNetCore.Localization.RequestCulture
Public Sub New (culture As String, uiCulture As String)

Parameters

culture
String

The culture for the request to be used for formatting.

uiCulture
String

The culture for the request to be used for text, i.e. language.

Applies to