Class CustomContentScannerExtension

Implemenation that will remove all properties that are part of metadata interfaces such as e.g. IContent

Inheritance
System.Object
CustomContentScannerExtension
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
Assembly: EPiServer.dll
Version: 8.11.0
Syntax
[ServiceConfiguration(typeof(ContentScannerExtension))]
public class CustomContentScannerExtension : ContentScannerExtension

Constructors

CustomContentScannerExtension()

Declaration
public CustomContentScannerExtension()

Methods

ShouldIgnoreProperty(ContentTypeModel, PropertyInfo)

Override to determine if a backing property PropertyData should be created for .net property.

Declaration
public override bool ShouldIgnoreProperty(ContentTypeModel contentTypeModel, PropertyInfo property)
Parameters
Type Name Description
ContentTypeModel contentTypeModel

The content type model.

System.Reflection.PropertyInfo property

The property.

Returns
Type Description
System.Boolean
Overrides

Extension Methods