Interface IContentTypeModelRegistrator
Component that will register a list of content type models
Namespace: EPiServer.DataAbstraction.RuntimeModel
Assembly: EPiServer.dll
Version: 10.10.4Syntax
public interface IContentTypeModelRegistrator
Methods
RegisterTypes(IEnumerable<ContentTypeModel>, Boolean, Boolean)
Analyzes all models and registers the content types and their property definitions.
Declaration
void RegisterTypes(IEnumerable<ContentTypeModel> typeModels, bool deleteUnusedContentTypes, bool deleteUnusedPropertyDefinitions)
Parameters
Type | Name | Description |
---|---|---|
System.Collections.Generic.IEnumerable<ContentTypeModel> | typeModels | List of all content type models that should be registered. |
System.Boolean | deleteUnusedContentTypes | If set to |
System.Boolean | deleteUnusedPropertyDefinitions | If set to |