Class ContentTypeAssemblyKit
Internal assembler to assemble content types and content type attributes.
[InternalApi_DoNotUse_MayChangeWithoutNotice]
public class ContentTypeAssemblyKit : ServiceWithSetup<DataAssemblerOptions>, IHasLog, IHasOptions<DataAssemblerOptions>, IServiceWithSetup<DataAssemblerOptions>
- Inheritance
-
objectContentTypeAssemblyKit
- Implements
- Inherited Members
Properties
Field
public ContentTypeFieldAssembler Field { get; }
Property Value
Type
public ContentTypeAssembler Type { get; }
Property Value
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
Exceptions
- ServiceOptionsRequiredException