Class CultureLoadOption
このページの翻訳はAIによって自動的に行われました。可能な限り正確な翻訳を心掛けていますが、原文と異なる表現や解釈が含まれる場合があります。正確で公式な情報については、必ず英語の原文をご参照ください。
Inheritance
Namespace: Stylelabs.M.Framework.Essentials.LoadOptions
Assembly: Stylelabs.M.Sdk.dll
Syntax
Constructors
CultureLoadOption()
Creates an empty culture load option. Defaults to None.
Declaration
CultureLoadOption(CultureInfo[])
Creates a culture load option that loads specified cultures.
Declaration
Parameters
| Type | Name | Description |
|---|---|---|
| CultureInfo[] | cultures |
Cultures. |
CultureLoadOption(IEnumerable<CultureInfo>)
Creates a culture load option that loads specified cultures.
Declaration
Parameters
| Type | Name | Description |
|---|---|---|
| IEnumerable<CultureInfo> | cultures |
Cultures. |
CultureLoadOption(IEnumerable<String>)
Creates a culture load option that loads specified cultures by locale identifier (LCID).
Declaration
Parameters
| Type | Name | Description |
|---|---|---|
| IEnumerable<System.String> | cultures |
Cultures by locale identifier (LCID) |
CultureLoadOption(String[])
Creates a culture load option that loads specified cultures by locale identifier (LCID).
Declaration
Parameters
| Type | Name | Description |
|---|---|---|
| System.String[] | cultures |
Cultures by locale identifier (LCID) |
Properties
All
Loads all cultures registered in M.
Declaration
Property Value
| Type | Description |
|---|---|
| ICultureLoadOption |
Cultures
Gets a list of cultures names that need to be loaded. This is only useful when LoadOption is Custom.
Declaration
Property Value
| Type | Description |
|---|---|
| CultureInfo[] |
Default
Loads the default culture in M.
Declaration
Property Value
| Type | Description |
|---|---|
| ICultureLoadOption |
LoadOption
Gets the load option.
Declaration
Property Value
| Type | Description |
|---|---|
| LoadOption |
None
Loads no cultures.
Declaration
Property Value
| Type | Description |
|---|---|
| ICultureLoadOption |
Methods
DeepClone()
Creates a deep clone of this instance.
Declaration
Returns
| Type | Description |
|---|---|
| ICultureLoadOption |
DeepEquals(ICultureLoadOption)
Checks if this instance of ICultureLoadOption is equal to other.
Declaration
Parameters
| Type | Name | Description |
|---|---|---|
| ICultureLoadOption | other |
Returns
| Type | Description |
|---|---|
| System.Boolean |
langword_csharp_True if the instances are equal; otherwise langword_csharp_False. |