Try our conversational search powered by Generative AI!

Class BackingTypeResolver

Unsupported INTERNAL API! Not covered by semantic versioning; might change without notice. Resolves the base type from a specified type, by matching the type against types registered in IPropertyDefinitionTypeRepository.

Inheritance
System.Object
BackingTypeResolver
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.DataAbstraction.Internal
Assembly: EPiServer.dll
Version: 11.20.7
Syntax
public class BackingTypeResolver : IBackingTypeResolver

Constructors

BackingTypeResolver(IPropertyDefinitionTypeRepository, IPropertyDataFactory)

Unsupported INTERNAL API! Not covered by semantic versioning; might change without notice. Initializes a new instance of the BackingTypeResolver class.

Declaration
public BackingTypeResolver(IPropertyDefinitionTypeRepository propertyDefinitionTypeRepository, IPropertyDataFactory propertyDataFactory)
Parameters
Type Name Description
IPropertyDefinitionTypeRepository propertyDefinitionTypeRepository

The property definition type repository.

IPropertyDataFactory propertyDataFactory

The property data factory.

Properties

Boolean

Unsupported INTERNAL API! Not covered by semantic versioning; might change without notice. PropertyData type for a boolean.

Declaration
protected virtual Type Boolean { get; }
Property Value
Type Description
System.Type

DateTime

Unsupported INTERNAL API! Not covered by semantic versioning; might change without notice. PropertyData type for a date time.

Declaration
protected virtual Type DateTime { get; }
Property Value
Type Description
System.Type

Double

Unsupported INTERNAL API! Not covered by semantic versioning; might change without notice. PropertyData type for a double.

Declaration
protected virtual Type Double { get; }
Property Value
Type Description
System.Type

Int32

Unsupported INTERNAL API! Not covered by semantic versioning; might change without notice. PropertyData type for an int32.

Declaration
protected virtual Type Int32 { get; }
Property Value
Type Description
System.Type

PageType

Unsupported INTERNAL API! Not covered by semantic versioning; might change without notice. PropertyData type for a page type

Declaration
protected virtual Type PageType { get; }
Property Value
Type Description
System.Type

String

Unsupported INTERNAL API! Not covered by semantic versioning; might change without notice. PropertyData type for a string

Declaration
protected virtual Type String { get; }
Property Value
Type Description
System.Type

TimeSpan

Unsupported INTERNAL API! Not covered by semantic versioning; might change without notice. PropertyData type for a time span.

Declaration
protected virtual Type TimeSpan { get; }
Property Value
Type Description
System.Type

Url

Unsupported INTERNAL API! Not covered by semantic versioning; might change without notice. PropertyData type for an URL.

Declaration
protected virtual Type Url { get; }
Property Value
Type Description
System.Type

XForm

Unsupported INTERNAL API! Not covered by semantic versioning; might change without notice. PropertyData type for a XForm

Declaration
protected virtual Type XForm { get; }
Property Value
Type Description
System.Type

XhtmlString

Unsupported INTERNAL API! Not covered by semantic versioning; might change without notice. PropertyData type for a XHtml string

Declaration
protected virtual Type XhtmlString { get; }
Property Value
Type Description
System.Type

Methods

GetBackingType(PropertyDefinitionModel)

Unsupported INTERNAL API! Not covered by semantic versioning; might change without notice. Gets the type of the backing.

Declaration
public virtual Type GetBackingType(PropertyDefinitionModel propertyDefinitionModel)
Parameters
Type Name Description
PropertyDefinitionModel propertyDefinitionModel

The property definition model.

Returns
Type Description
System.Type

GetDefaultBackingType(Type)

Unsupported INTERNAL API! Not covered by semantic versioning; might change without notice. Gets the base type for a specified type

Declaration
public virtual Type GetDefaultBackingType(Type type)
Parameters
Type Name Description
System.Type type

Type to get the base type for.

Returns
Type Description
System.Type

The base type

Resolve(Type)

Declaration
public virtual Type Resolve(Type type)
Parameters
Type Name Description
System.Type type
Returns
Type Description
System.Type

Implements

Extension Methods