Class BlockPropertyTypeResolver
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
Assembly: EPiServer.dll
Version: 8.11.0Syntax
public class BlockPropertyTypeResolver
Constructors
BlockPropertyTypeResolver(IPropertyDefinitionTypeRepository, BlockTypeRepository)
Initializes a new instance of the BlockPropertyTypeResolver class.
Declaration
public BlockPropertyTypeResolver(IPropertyDefinitionTypeRepository propertyDefinitionTypeRepository, BlockTypeRepository blockTypeRepository)
Parameters
Type | Name | Description |
---|---|---|
IPropertyDefinitionTypeRepository | propertyDefinitionTypeRepository | The property definition type repository. |
BlockTypeRepository | blockTypeRepository | The block 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 |