Class BlockPropertyTypeResolver
Resolves a Block
Inheritance
System.Object
BlockPropertyTypeResolver
Namespace: EPiServer.Core.Transfer.Internal
Assembly: EPiServer.dll
Version: 12.0.3Syntax
public class BlockPropertyTypeResolver : Object
Constructors
BlockPropertyTypeResolver(IPropertyDefinitionTypeRepository, IContentTypeRepository)
Initializes a new instance of the Block
Declaration
public BlockPropertyTypeResolver(IPropertyDefinitionTypeRepository propertyDefinitionTypeRepository, IContentTypeRepository contentTypeRepository)
Parameters
Type | Name | Description |
---|---|---|
IProperty |
propertyDefinitionTypeRepository | The property definition type repository. |
IContent |
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 Block
Declaration
public BlockPropertyDefinitionType GetBlockPropertyDefinitionType(BlockTypeReference importedReference, string propertyTypeName, string propertyAssemblyName, IEnumerable<BlockType> importedBlockTypes)
Parameters
Type | Name | Description |
---|---|---|
Block |
importedReference | The imported reference. |
System. |
propertyTypeName | Name of the property type. |
System. |
propertyAssemblyName | Name of the property assembly. |
System. |
importedBlockTypes | The imported block types. |
Returns
Type | Description |
---|---|
Block |