Class ContentTypeTypeAssembler
Internal assembler for ContentTypes. The name is a bit strange, to differentiate it from ContentTypeAssembler.
[InternalApi_DoNotUse_MayChangeWithoutNotice]
public class ContentTypeTypeAssembler
- Inheritance
-
objectContentTypeTypeAssembler
Fields
DynTypeId
public const int DynTypeId = 1
Field Value
Methods
Create(int, string, string, int, string, IList<IContentTypeAttribute>?, bool, bool, int?, int, int, RepositoryTypes, string?, ContentTypeMetadata?, bool?, string?, List<IDecorator<IContentType>>?)
public IContentType Create(int appId, string name, string nameId, int id, string scope, IList<IContentTypeAttribute>? attributes = null, bool isAlwaysShared = false, bool isDynamic = false, int? parentTypeId = null, int configZoneId = 0, int configAppId = 0, RepositoryTypes repositoryType = RepositoryTypes.Sql, string? repositoryAddress = null, ContentTypeMetadata? metadata = null, bool? onSaveSortAttributes = null, string? onSaveUseParentStaticName = null, List<IDecorator<IContentType>>? decorators = null)
Parameters
appIdintnamestringnameIdstringidintscopestringattributesIList<IContentTypeAttribute>isAlwaysSharedboolisDynamicboolparentTypeIdint?configZoneIdintconfigAppIdintrepositoryTypeRepositoryTypesrepositoryAddressstringmetadataContentTypeMetadataonSaveSortAttributesbool?onSaveUseParentStaticNamestringdecoratorsList<IDecorator<IContentType>>
Returns
CreateFrom(IContentType, int?, string?, string?, int?, string?, IList<IContentTypeAttribute>?, bool?, bool?, RepositoryTypes?, string?, int?, int?, int?, ContentTypeMetadata?, IEnumerable<IEntity>?)
public IContentType CreateFrom(IContentType original, int? appId = null, string? name = null, string? nameId = null, int? id = null, string? scope = null, IList<IContentTypeAttribute>? attributes = null, bool? isAlwaysShared = null, bool? isDynamic = null, RepositoryTypes? repoType = null, string? repoAddress = null, int? parentTypeId = null, int? configZoneId = null, int? configAppId = null, ContentTypeMetadata? metadata = null, IEnumerable<IEntity>? metadataItems = null)
Parameters
originalIContentTypeappIdint?namestringnameIdstringidint?scopestringattributesIList<IContentTypeAttribute>isAlwaysSharedbool?isDynamicbool?repoTypeRepositoryTypes?repoAddressstringparentTypeIdint?configZoneIdint?configAppIdint?metadataContentTypeMetadatametadataItemsIEnumerable<IEntity>
Returns
Transient(int, string, string, string?)
public IContentType Transient(int appId, string typeName, string nameId, string? scope = null)
Parameters
Returns
Transient(string)
public IContentType Transient(string typeName)
Parameters
typeNamestring