Class TypedEntityCreatorBase<T>
Base typed entity creator.
Inheritance
object
TypedEntityCreatorBase<T>
Namespace: StylelabsStylelabs.MSdkStylelabs.M.Sdk.ModelsFactories
Assembly: Stylelabs.M.Sdk.dll
Syntax
RequestResponse
public abstract class TypedEntityCreatorBase<T> where T : EntityBase
Type Parameters
Name | Description |
---|---|
T |
The type of the entity. |
Methods
CreateAsset(EntityConstructionArgs)
Creates an asset.
Declaration
RequestResponse
protected abstract T CreateAsset(EntityConstructionArgs args)
Parameters
Type | Name | Description |
---|---|---|
EntityConstructionArgs | args |
Entity creation args. |
Returns
Type | Description |
---|---|
T |
The entity. |
CreateEntity(EntityConstructionArgs)
Creates an entity.
Declaration
RequestResponse
protected abstract T CreateEntity(EntityConstructionArgs args)
Parameters
Type | Name | Description |
---|---|---|
EntityConstructionArgs | args |
Entity creation args. |
Returns
Type | Description |
---|---|
T |
The entity. |
CreateMailTemplate(EntityConstructionArgs)
Creates a mail template.
Declaration
RequestResponse
protected abstract T CreateMailTemplate(EntityConstructionArgs args)
Parameters
Type | Name | Description |
---|---|---|
EntityConstructionArgs | args |
Entity creation args. |
Returns
Type | Description |
---|---|
T |
The entity. |
CreateTypedEntity(EntityConstructionArgs)
Initializes a new instance of .
Declaration
RequestResponse
public virtual T CreateTypedEntity(EntityConstructionArgs args)
Parameters
Type | Name | Description |
---|---|---|
EntityConstructionArgs | args |
Returns
Type | Description |
---|---|
T |
A ITypedEntity. |