Class CustomContentScannerExtension
Implemenation that will remove all properties that are part of metadata interfaces such as e.g. IContent
Inherited Members
Namespace: EPiServer.DataAbstraction.RuntimeModel.Internal
Assembly: EPiServer.dll
Version: 12.0.3Syntax
[ServiceConfiguration]
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 |