Interface ITypedEntityFactory
Defines the typed entity factory.
Namespace: StylelabsStylelabs.MSdkFactories
Assembly: Stylelabs.M.Sdk.dll
Syntax
Methods
CreateEntity(EntityConstructionArgs)
Creates a typed entity.
Declaration
Parameters
| Type | Name | Description |
|---|---|---|
| EntityConstructionArgs | args |
The entity construction arguments. |
Returns
| Type | Description |
|---|---|
| IEntity |
The entity. |
FromEntity<T>(IEntity)
Maps an IEntity to a typed entity.
Declaration
Parameters
| Type | Name | Description |
|---|---|---|
| IEntity | entity |
The entity to map. |
Returns
| Type | Description |
|---|---|
| T |
The typed entity. |
Type Parameters
| Name | Description |
|---|---|
| T |
The typed entity type. |