1. Stylelabs.M.Sdk.Models.Factories

Class TypedEntityCreatorBase

Base typed entity creator.

Inheritance

object

TypedEntityCreatorBase

Namespace: StylelabsStylelabs.MSdkStylelabs.M.Sdk.ModelsFactories

Assembly: Stylelabs.M.Sdk.dll

Syntax

public abstract class TypedEntityCreatorBase<T> where T : EntityBase

Type Parameters

NameDescription
TThe type of the entity.

Methods

CreateAsset(EntityConstructionArgs)

Creates an asset.

Declaration

protected abstract T CreateAsset(EntityConstructionArgs args)

Parameters

TypeNameDescription
EntityConstructionArgsargsEntity creation args.

Returns

TypeDescription
TThe entity.

CreateEntity(EntityConstructionArgs)

Creates an entity.

Declaration

protected abstract T CreateEntity(EntityConstructionArgs args)

Parameters

TypeNameDescription
EntityConstructionArgsargsEntity creation args.

Returns

TypeDescription
TThe entity.

CreateMailTemplate(EntityConstructionArgs)

Creates a mail template.

Declaration

protected abstract T CreateMailTemplate(EntityConstructionArgs args)

Parameters

TypeNameDescription
EntityConstructionArgsargsEntity creation args.

Returns

TypeDescription
TThe entity.

CreateTypedEntity(EntityConstructionArgs)

Initializes a new instance of TypedEntityCreatorBase .

Declaration

public virtual T CreateTypedEntity(EntityConstructionArgs args)

Parameters

Returns

TypeDescription
TA ITypedEntity.
If you have suggestions for improving this article, let us know!