Interface IContentTypeModelAssigner

Assign values to a ContentTypeModel.

Namespace: EPiServer.DataAbstraction.RuntimeModel
Assembly: EPiServer.dll
Version: 11.20.7
Syntax
public interface IContentTypeModelAssigner

Methods

AssignValues(ContentTypeModel)

Assigns values to contentTypeModel.

Declaration
void AssignValues(ContentTypeModel contentTypeModel)
Parameters
Type Name Description
ContentTypeModel contentTypeModel

The content type model, which will be populated with values.

AssignValuesToPropertyDefinition(PropertyDefinitionModel, PropertyInfo, ContentTypeModel)

Assigns values to propertyDefinitionModel from attributes defined on property

Declaration
void AssignValuesToPropertyDefinition(PropertyDefinitionModel propertyDefinitionModel, PropertyInfo property, ContentTypeModel parentModel)
Parameters
Type Name Description
PropertyDefinitionModel propertyDefinitionModel

The property definition model, which will be populated with values.

System.Reflection.PropertyInfo property

The property to use when scanning for attributes.

ContentTypeModel parentModel

The content type model, in which the property contains.

Extension Methods