SaaS CMS has officially launched! Learn more now.

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
System.Object
ContentDataAttributeScanningAssigner
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: EPiServer.DataAbstraction.RuntimeModel.Internal
Assembly: EPiServer.dll
Version: 10.10.4
Syntax
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.

Implements

Extension Methods