ProviderCultureResult 构造函数

定义

重载

ProviderCultureResult(StringSegment)

创建一个新的 ProviderCultureResult 对象,其 CulturesUICultures 属性设置为相同的区域性值。

ProviderCultureResult(IList<StringSegment>)

创建一个新的 ProviderCultureResult 对象,其 CulturesUICultures 属性设置为相同的区域性值。

ProviderCultureResult(IList<String>)

创建一个新的 ProviderCultureResult 对象,其 CulturesUICultures 属性设置为相同的区域性值。

ProviderCultureResult(String)

创建一个新的 ProviderCultureResult 对象,其 CulturesUICultures 属性设置为相同的区域性值。

ProviderCultureResult(StringSegment, StringSegment)

创建一个新 ProviderCultureResult 对象,其 CulturesUICultures 属性设置为所提供的相应区域性值。

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

创建一个新 ProviderCultureResult 对象,其 CulturesUICultures 属性设置为所提供的相应区域性值。

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

创建一个新 ProviderCultureResult 对象,其 CulturesUICultures 属性设置为所提供的相应区域性值。

ProviderCultureResult(String, String)

创建一个新 ProviderCultureResult 对象,其 CulturesUICultures 属性设置为所提供的相应区域性值。

ProviderCultureResult(StringSegment)

创建一个新的 ProviderCultureResult 对象,其 CulturesUICultures 属性设置为相同的区域性值。

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)

参数

culture
StringSegment

要用于设置格式、文本(即语言)的区域性的名称。

适用于

ProviderCultureResult(IList<StringSegment>)

创建一个新的 ProviderCultureResult 对象,其 CulturesUICultures 属性设置为相同的区域性值。

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))

参数

cultures
IList<StringSegment>

要用于设置格式、文本(即语言)的区域性列表。

适用于

ProviderCultureResult(IList<String>)

创建一个新的 ProviderCultureResult 对象,其 CulturesUICultures 属性设置为相同的区域性值。

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))

参数

cultures
IList<String>

要用于设置格式、文本(即语言)的区域性列表。

适用于

ProviderCultureResult(String)

创建一个新的 ProviderCultureResult 对象,其 CulturesUICultures 属性设置为相同的区域性值。

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)

参数

culture
String

要用于设置格式、文本(即语言)的区域性的名称。

适用于

ProviderCultureResult(StringSegment, StringSegment)

创建一个新 ProviderCultureResult 对象,其 CulturesUICultures 属性设置为所提供的相应区域性值。

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)

参数

culture
StringSegment

要用于格式设置的区域性的名称。

uiCulture
StringSegment

要用于文本的 ui 区域性的名称,即语言。

适用于

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

创建一个新 ProviderCultureResult 对象,其 CulturesUICultures 属性设置为所提供的相应区域性值。

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))

参数

cultures
IList<StringSegment>

要用于格式设置的区域性列表。

uiCultures
IList<StringSegment>

要用于文本(即语言)的 ui 区域性列表。

适用于

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

创建一个新 ProviderCultureResult 对象,其 CulturesUICultures 属性设置为所提供的相应区域性值。

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))

参数

cultures
IList<String>

要用于格式设置的区域性列表。

uiCultures
IList<String>

要用于文本(即语言)的 ui 区域性列表。

适用于

ProviderCultureResult(String, String)

创建一个新 ProviderCultureResult 对象,其 CulturesUICultures 属性设置为所提供的相应区域性值。

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)

参数

culture
String

要用于格式设置的区域性的名称。

uiCulture
String

要用于文本的 ui 区域性的名称,即语言。

适用于