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

Delegate TypeToStoreMapper

Delegate to map a property on a type to a specific store

Namespace: EPiServer.Data.Dynamic
Assembly: EPiServer.Data.dll
Version: 11.20.7
Syntax
public delegate string TypeToStoreMapper(string propertyName, object propertyValue);
Parameters
Type Name Description
System.String propertyName

The name of the property to be mapped

System.Object propertyValue

The value of the property to be mapped

Returns
Type Description
System.String

A System.String containing the store name to map the value to

Constructors

TypeToStoreMapper(Object, IntPtr)

Declaration
public TypeToStoreMapper(object object, IntPtr method)
Parameters
Type Name Description
System.Object object
System.IntPtr method

Methods

BeginInvoke(String, Object, AsyncCallback, Object)

Declaration
public virtual IAsyncResult BeginInvoke(string propertyName, object propertyValue, AsyncCallback callback, object object)
Parameters
Type Name Description
System.String propertyName
System.Object propertyValue
System.AsyncCallback callback
System.Object object
Returns
Type Description
System.IAsyncResult

EndInvoke(IAsyncResult)

Declaration
public virtual string EndInvoke(IAsyncResult result)
Parameters
Type Name Description
System.IAsyncResult result
Returns
Type Description
System.String

Invoke(String, Object)

Declaration
public virtual string Invoke(string propertyName, object propertyValue)
Parameters
Type Name Description
System.String propertyName
System.Object propertyValue
Returns
Type Description
System.String

Extension Methods