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

Class BlockPropertyTypeResolver

Resolves a BlockPropertyDefinitionType from an imported BlockTypeReference

Inheritance
System.Object
BlockPropertyTypeResolver
Namespace: EPiServer.Core.Transfer.Internal
Assembly: EPiServer.dll
Version: 12.0.3
Syntax
public class BlockPropertyTypeResolver : Object

Constructors

BlockPropertyTypeResolver(IPropertyDefinitionTypeRepository, IContentTypeRepository)

Initializes a new instance of the BlockPropertyTypeResolver class.

Declaration
public BlockPropertyTypeResolver(IPropertyDefinitionTypeRepository propertyDefinitionTypeRepository, IContentTypeRepository contentTypeRepository)
Parameters
Type Name Description
IPropertyDefinitionTypeRepository propertyDefinitionTypeRepository

The property definition type repository.

IContentTypeRepository contentTypeRepository

The content type repository.

Methods

GetBlockPropertyDefinitionType(BlockTypeReference, String, String, IEnumerable<BlockType>)

Gets the type of the block property definition that corresponds to an imported BlockTypeReference.

Declaration
public BlockPropertyDefinitionType GetBlockPropertyDefinitionType(BlockTypeReference importedReference, string propertyTypeName, string propertyAssemblyName, IEnumerable<BlockType> importedBlockTypes)
Parameters
Type Name Description
BlockTypeReference importedReference

The imported reference.

System.String propertyTypeName

Name of the property type.

System.String propertyAssemblyName

Name of the property assembly.

System.Collections.Generic.IEnumerable<BlockType> importedBlockTypes

The imported block types.

Returns
Type Description
BlockPropertyDefinitionType

Extension Methods