Class PropertyFactory
Version:
日本語翻訳に関する免責事項
このページの翻訳はAIによって自動的に行われました。可能な限り正確な翻訳を心掛けていますが、原文と異なる表現や解釈が含まれる場合があります。正確で公式な情報については、必ず英語の原文をご参照ください。
A property factory.
Inheritance
System.Object
PropertyFactory
Namespace: Stylelabs.M.Sdk.Models.Factories
Assembly: Stylelabs.M.Sdk.dll
Syntax
Methods
CreateCultureInSensitiveProperty(IPropertyDefinition)
Creates a new ICultureInsensitiveProperty.
Declaration
Parameters
| Type | Name | Description |
|---|---|---|
| IPropertyDefinition | definition |
Property definition. |
Returns
| Type | Description |
|---|---|
| ICultureInsensitiveProperty |
A new property. |
CreateCultureSensitiveProperty(IPropertyDefinition, HashSet<CultureInfo>)
Creates a new ICultureSensitiveProperty.
Declaration
Parameters
| Type | Name | Description |
|---|---|---|
| IPropertyDefinition | definition |
Property definition. |
| HashSet<CultureInfo> | cultures |
The cultures to initialize a ICultureSensitiveProperty with. |
Returns
| Type | Description |
|---|---|
| ICultureSensitiveProperty |
A new property. |
CreateProperties(IEnumerable<IPropertyDefinition>, HashSet<CultureInfo>)
Creates a new collection of properties.
Declaration
Parameters
| Type | Name | Description |
|---|---|---|
| IEnumerable<IPropertyDefinition> | definitions |
The definitions. |
| HashSet<CultureInfo> | cultures |
The cultures to initialize a ICultureSensitiveProperty with. |
Returns
| Type | Description |
|---|---|
| IList<IProperty> |
A new property collection. |