Class PropertyFactory
A property factory.
Inheritance
object
PropertyFactory
Namespace: StylelabsStylelabs.MSdkStylelabs.M.Sdk.ModelsFactories
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)
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, HashSet)
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. |
If you have suggestions for improving this article, let us know!