Table of Contents

Class ContentTypeAssemblyKit

Namespace
ToSic.Eav.Data.Build.Sys
Assembly
ToSic.Eav.Data.Build.dll

Internal assembler to assemble content types and content type attributes.

[InternalApi_DoNotUse_MayChangeWithoutNotice]
public class ContentTypeAssemblyKit : ServiceWithSetup<DataAssemblerOptions>, IHasLog, IHasOptions<DataAssemblerOptions>, IServiceWithSetup<DataAssemblerOptions>
Inheritance
object
ContentTypeAssemblyKit
Implements
Inherited Members

Properties

Field

public ContentTypeFieldAssembler Field { get; }

Property Value

ContentTypeFieldAssembler

Type

public ContentTypeAssembler Type { get; }

Property Value

ContentTypeAssembler

Methods

GetDefaultOptions()

Method to generate new / default options. This should usually not be called, but it might; so if your service can work without valid options (or accesses options before setup), this would trigger.

This could also be triggered, if the service was created without the correct Generator. Note that it's always an option to just throw an exception.

You must override this to provide your own default options.

protected override DataAssemblerOptions GetDefaultOptions()

Returns

DataAssemblerOptions

Exceptions

ServiceOptionsRequiredException