Dela via


ProviderCultureResult Constructors

Definition

Overloads

ProviderCultureResult(StringSegment)

Creates a new ProviderCultureResult object that has its Cultures and UICultures properties set to the same culture value.

ProviderCultureResult(IList<StringSegment>)

Creates a new ProviderCultureResult object that has its Cultures and UICultures properties set to the same culture value.

ProviderCultureResult(IList<String>)

Creates a new ProviderCultureResult object that has its Cultures and UICultures properties set to the same culture value.

ProviderCultureResult(String)

Creates a new ProviderCultureResult object that has its Cultures and UICultures properties set to the same culture value.

ProviderCultureResult(StringSegment, StringSegment)

Creates a new ProviderCultureResult object has its Cultures and UICultures properties set to the respective culture values provided.

ProviderCultureResult(IList<StringSegment>, IList<StringSegment>)

Creates a new ProviderCultureResult object has its Cultures and UICultures properties set to the respective culture values provided.

ProviderCultureResult(IList<String>, IList<String>)

Creates a new ProviderCultureResult object has its Cultures and UICultures properties set to the respective culture values provided.

ProviderCultureResult(String, String)

Creates a new ProviderCultureResult object has its Cultures and UICultures properties set to the respective culture values provided.

ProviderCultureResult(StringSegment)

Source:
ProviderCultureResult.cs
Source:
ProviderCultureResult.cs
Source:
ProviderCultureResult.cs

Creates a new ProviderCultureResult object that has its Cultures and UICultures properties set to the same culture value.

public:
 ProviderCultureResult(Microsoft::Extensions::Primitives::StringSegment culture);
public ProviderCultureResult (Microsoft.Extensions.Primitives.StringSegment culture);
new Microsoft.AspNetCore.Localization.ProviderCultureResult : Microsoft.Extensions.Primitives.StringSegment -> Microsoft.AspNetCore.Localization.ProviderCultureResult
Public Sub New (culture As StringSegment)

Parameters

culture
StringSegment

The name of the culture to be used for formatting, text, i.e. language.

Applies to

ProviderCultureResult(IList<StringSegment>)

Source:
ProviderCultureResult.cs
Source:
ProviderCultureResult.cs
Source:
ProviderCultureResult.cs

Creates a new ProviderCultureResult object that has its Cultures and UICultures properties set to the same culture value.

public:
 ProviderCultureResult(System::Collections::Generic::IList<Microsoft::Extensions::Primitives::StringSegment> ^ cultures);
public ProviderCultureResult (System.Collections.Generic.IList<Microsoft.Extensions.Primitives.StringSegment> cultures);
new Microsoft.AspNetCore.Localization.ProviderCultureResult : System.Collections.Generic.IList<Microsoft.Extensions.Primitives.StringSegment> -> Microsoft.AspNetCore.Localization.ProviderCultureResult
Public Sub New (cultures As IList(Of StringSegment))

Parameters

cultures
IList<StringSegment>

The list of cultures to be used for formatting, text, i.e. language.

Applies to

ProviderCultureResult(IList<String>)

Creates a new ProviderCultureResult object that has its Cultures and UICultures properties set to the same culture value.

public:
 ProviderCultureResult(System::Collections::Generic::IList<System::String ^> ^ cultures);
public ProviderCultureResult (System.Collections.Generic.IList<string> cultures);
new Microsoft.AspNetCore.Localization.ProviderCultureResult : System.Collections.Generic.IList<string> -> Microsoft.AspNetCore.Localization.ProviderCultureResult
Public Sub New (cultures As IList(Of String))

Parameters

cultures
IList<String>

The list of cultures to be used for formatting, text, i.e. language.

Applies to

ProviderCultureResult(String)

Creates a new ProviderCultureResult object that has its Cultures and UICultures properties set to the same culture value.

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

Parameters

culture
String

The name of the culture to be used for formatting, text, i.e. language.

Applies to

ProviderCultureResult(StringSegment, StringSegment)

Source:
ProviderCultureResult.cs
Source:
ProviderCultureResult.cs
Source:
ProviderCultureResult.cs

Creates a new ProviderCultureResult object has its Cultures and UICultures properties set to the respective culture values provided.

public:
 ProviderCultureResult(Microsoft::Extensions::Primitives::StringSegment culture, Microsoft::Extensions::Primitives::StringSegment uiCulture);
public ProviderCultureResult (Microsoft.Extensions.Primitives.StringSegment culture, Microsoft.Extensions.Primitives.StringSegment uiCulture);
new Microsoft.AspNetCore.Localization.ProviderCultureResult : Microsoft.Extensions.Primitives.StringSegment * Microsoft.Extensions.Primitives.StringSegment -> Microsoft.AspNetCore.Localization.ProviderCultureResult
Public Sub New (culture As StringSegment, uiCulture As StringSegment)

Parameters

culture
StringSegment

The name of the culture to be used for formatting.

uiCulture
StringSegment

The name of the ui culture to be used for text, i.e. language.

Applies to

ProviderCultureResult(IList<StringSegment>, IList<StringSegment>)

Source:
ProviderCultureResult.cs
Source:
ProviderCultureResult.cs
Source:
ProviderCultureResult.cs

Creates a new ProviderCultureResult object has its Cultures and UICultures properties set to the respective culture values provided.

public:
 ProviderCultureResult(System::Collections::Generic::IList<Microsoft::Extensions::Primitives::StringSegment> ^ cultures, System::Collections::Generic::IList<Microsoft::Extensions::Primitives::StringSegment> ^ uiCultures);
public ProviderCultureResult (System.Collections.Generic.IList<Microsoft.Extensions.Primitives.StringSegment> cultures, System.Collections.Generic.IList<Microsoft.Extensions.Primitives.StringSegment> uiCultures);
new Microsoft.AspNetCore.Localization.ProviderCultureResult : System.Collections.Generic.IList<Microsoft.Extensions.Primitives.StringSegment> * System.Collections.Generic.IList<Microsoft.Extensions.Primitives.StringSegment> -> Microsoft.AspNetCore.Localization.ProviderCultureResult
Public Sub New (cultures As IList(Of StringSegment), uiCultures As IList(Of StringSegment))

Parameters

cultures
IList<StringSegment>

The list of cultures to be used for formatting.

uiCultures
IList<StringSegment>

The list of ui cultures to be used for text, i.e. language.

Applies to

ProviderCultureResult(IList<String>, IList<String>)

Creates a new ProviderCultureResult object has its Cultures and UICultures properties set to the respective culture values provided.

public:
 ProviderCultureResult(System::Collections::Generic::IList<System::String ^> ^ cultures, System::Collections::Generic::IList<System::String ^> ^ uiCultures);
public ProviderCultureResult (System.Collections.Generic.IList<string> cultures, System.Collections.Generic.IList<string> uiCultures);
new Microsoft.AspNetCore.Localization.ProviderCultureResult : System.Collections.Generic.IList<string> * System.Collections.Generic.IList<string> -> Microsoft.AspNetCore.Localization.ProviderCultureResult
Public Sub New (cultures As IList(Of String), uiCultures As IList(Of String))

Parameters

cultures
IList<String>

The list of cultures to be used for formatting.

uiCultures
IList<String>

The list of ui cultures to be used for text, i.e. language.

Applies to

ProviderCultureResult(String, String)

Creates a new ProviderCultureResult object has its Cultures and UICultures properties set to the respective culture values provided.

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

Parameters

culture
String

The name of the culture to be used for formatting.

uiCulture
String

The name of the ui culture to be used for text, i.e. language.

Applies to