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

Class UriTypeHandler

Class that handles storage format of System.Uri towards Dynamic Data Store.

Inheritance
System.Object
UriTypeHandler
Implements
Namespace: EPiServer.Web.Internal
Assembly: EPiServer.dll
Version: 12.0.3
Syntax
public class UriTypeHandler : Object, ITypeHandler

Constructors

UriTypeHandler()

Declaration
public UriTypeHandler()

Methods

FromDatabaseFormat(String, Object, Type, Type)

Froms 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

MapToDatabaseType(Type)

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)

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

Implements

Extension Methods