Class EntityFactoryBase<T>
Version:
日本語翻訳に関する免責事項
このページの翻訳はAIによって自動的に行われました。可能な限り正確な翻訳を心掛けていますが、原文と異なる表現や解釈が含まれる場合があります。正確で公式な情報については、必ず英語の原文をご参照ください。
Base class for the entity factories.
Inheritance
System.Object
EntityFactoryBase<T>
Implements
Namespace: Stylelabs.M.Sdk.Models.Factories
Assembly: Stylelabs.M.Sdk.dll
Syntax
Type Parameters
| Name | Description |
|---|---|
| T |
Constructors
EntityFactoryBase(IMClient, IRelationFactory, ICultureLoader, TypedEntityCreatorBase<T>)
Declaration
Parameters
| Type | Name | Description |
|---|---|---|
| IMClient | client | |
| Stylelabs.M.Sdk.Factories.IRelationFactory | relationFactory | |
| ICultureLoader | cultureLoader | |
| TypedEntityCreatorBase<T> | entityCreator |
Methods
CreateAsync(IEntityDefinition, ICultureLoadOption)
Creates an IEntity instance of the given IEntityDefinition.
Declaration
Parameters
| Type | Name | Description |
|---|---|---|
| IEntityDefinition | definition |
The entity definition. |
| ICultureLoadOption | cultureLoadOption |
Returns
CreateAsync(String, ICultureLoadOption)
Creates an IEntity instance of the IEntityDefinition
corresponding to the definitionName.
Declaration
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | definitionName |
The entity definition name (case insensitive). |
| ICultureLoadOption | cultureLoadOption |