Try our conversational search powered by Generative AI!

Class BlockPropertyTypeResolver

Unsupported INTERNAL API! Not covered by semantic versioning; might change without notice. Resolves a BlockPropertyDefinitionType from an imported BlockTypeReference

Inheritance
System.Object
BlockPropertyTypeResolver
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.Core.Transfer.Internal
Assembly: EPiServer.dll
Version: 11.20.7
Syntax
public class BlockPropertyTypeResolver

Constructors

BlockPropertyTypeResolver(IPropertyDefinitionTypeRepository, IContentTypeRepository)

Unsupported INTERNAL API! Not covered by semantic versioning; might change without notice. 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>)

Unsupported INTERNAL API! Not covered by semantic versioning; might change without notice. 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