Interface IContentTypeModelScanner
Component that scans for and register content models.
Namespace: EPiServer.DataAbstraction.RuntimeModel
Assembly: EPiServer.dll
Version: 12.0.3Syntax
public interface IContentTypeModelScanner
Properties
ContentTypes
Gets content types in the system.
Declaration
IEnumerable<Type> ContentTypes { get; }
Property Value
Type | Description |
---|---|
System. |
Methods
GetProperties(ContentTypeModel)
Gets properties on the modelType
.
Declaration
IEnumerable<PropertyInfo> GetProperties(ContentTypeModel modelType)
Parameters
Type | Name | Description |
---|---|---|
Content |
modelType | The model to get properties from. |
Returns
Type | Description |
---|---|
System. |
RegisterModels()
Registers the models.
Declaration
IList<Task> RegisterModels()
Returns
Type | Description |
---|---|
System. |
Sync(Boolean)
Creates Content
Declaration
IList<Task> Sync(bool forceCommit)
Parameters
Type | Name | Description |
---|---|---|
System. |
forceCommit | if set to |
Returns
Type | Description |
---|---|
System. |
A list of started tasks. |
Remarks
The registration is complete when all returned task are completed.