Class ContentDataAttributeScanningAssigner
Unsupported INTERNAL API! Not covered by semantic versioning; might change without notice. Scans attributes on a ContentData type, and it's properties to assign values to an ContentTypeModel instence, and it's properties.
Inheritance
Implements
Inherited Members
Namespace: EPiServer.DataAbstraction.RuntimeModel.Internal
Assembly: EPiServer.dll
Version: 10.10.4Syntax
public class ContentDataAttributeScanningAssigner : IContentTypeModelAssigner
Constructors
ContentDataAttributeScanningAssigner()
Declaration
public ContentDataAttributeScanningAssigner()
Fields
ValidBackingTypeToPropertyTypeMappings
Declaration
protected static readonly Dictionary<Type, Type> ValidBackingTypeToPropertyTypeMappings
Field Value
Type | Description |
---|---|
System.Collections.Generic.Dictionary<System.Type, System.Type> |
Methods
AssignValues(ContentTypeModel)
Unsupported INTERNAL API! Not covered by semantic versioning; might change without notice. Assigns values to contentTypeModel
from attributes defined on ModelType
Declaration
public virtual void AssignValues(ContentTypeModel contentTypeModel)
Parameters
Type | Name | Description |
---|---|---|
ContentTypeModel | contentTypeModel | The content type model, which will be populated with values. |
AssignValuesToPropertyDefinition(PropertyDefinitionModel, PropertyInfo, ContentTypeModel)
Unsupported INTERNAL API! Not covered by semantic versioning; might change without notice. Assigns values to propertyDefinitionModel
from attributes defined on property
Declaration
public virtual 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. |