November Happy Hour will be moved to Thursday December 5th.

Class BlockScannerExtension

Extends content registration with block specific extensions.

Inheritance
System.Object
BlockScannerExtension
Namespace: EPiServer.DataAbstraction.RuntimeModel.Internal
Assembly: EPiServer.dll
Version: 12.0.3
Syntax
[ServiceConfiguration]
public class BlockScannerExtension : ContentScannerExtension

Constructors

BlockScannerExtension(ITypeReferenceAnalyzer)

Initializes a new instance of the BlockScannerExtension class.

Declaration
public BlockScannerExtension(ITypeReferenceAnalyzer circularReferenceValidator)
Parameters
Type Name Description
ITypeReferenceAnalyzer circularReferenceValidator

The circular reference validator.

Methods

ResolveDependentContentTypes(ContentTypeModel)

Should return other content types that specified content type is dependent on. The returned list should be ordered so deepest dependency is returned first.

Declaration
public override IEnumerable<Type> ResolveDependentContentTypes(ContentTypeModel model)
Parameters
Type Name Description
ContentTypeModel model

The model to examine

Returns
Type Description
System.Collections.Generic.IEnumerable<System.Type>

An ordered list of dependencies

Overrides

Validate(IEnumerable<ContentTypeModel>)

Override to add custom validation.

Declaration
public override void Validate(IEnumerable<ContentTypeModel> typeModels)
Parameters
Type Name Description
System.Collections.Generic.IEnumerable<ContentTypeModel> typeModels

The type models.

Overrides

Extension Methods