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

Class XhtmlStringTypeHandler

Unsupported INTERNAL API! Not covered by semantic versioning; might change without notice. Class that handles storage format of XhtmlString towards Dynamic Data Store.

Inheritance
System.Object
XhtmlStringTypeHandler
Implements
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.Internal
Assembly: EPiServer.dll
Version: 11.20.7
Syntax
public class XhtmlStringTypeHandler : ITypeHandler

Constructors

XhtmlStringTypeHandler()

Declaration
public XhtmlStringTypeHandler()

Methods

FromDatabaseFormat(String, Object, Type, Type)

Unsupported INTERNAL API! Not covered by semantic versioning; might change without notice. Returns an XhtmlString instance from the database format.

Declaration
public object FromDatabaseFormat(string propertyName, object propertyValue, Type targetType, Type ownerType)
Parameters
Type Name Description
System.String propertyName

Name of the property.

System.Object propertyValue

The property value.

System.Type targetType

Type of the target.

System.Type ownerType

Type of the owner.

Returns
Type Description
System.Object

A XhtmlString instance

MapToDatabaseType(Type)

Unsupported INTERNAL API! Not covered by semantic versioning; might change without notice. Returns the database type.

Declaration
public Type MapToDatabaseType(Type type)
Parameters
Type Name Description
System.Type type

The type.

Returns
Type Description
System.Type

The type that is stored in database

ToDatabaseFormat(String, Object, Type)

Unsupported INTERNAL API! Not covered by semantic versioning; might change without notice. Returns the propertyValue in the database format.

Declaration
public object ToDatabaseFormat(string propertyName, object propertyValue, Type ownerType)
Parameters
Type Name Description
System.String propertyName

Name of the property.

System.Object propertyValue

The property value.

System.Type ownerType

Type of the owner.

Returns
Type Description
System.Object

The propertyValue in the database format.

Implements

Extension Methods