Delegate ReadAndCacheObject<TObject>

Delegate signature for the method used to read and cache an object as used by Optimistic cache.

Namespace: EPiServer.Core
Assembly: EPiServer.dll
Version: 8.11.0
Syntax
public delegate TObject ReadAndCacheObject<TObject>();
Returns
Type Description
TObject
Type Parameters
Name Description
TObject

Constructors

ReadAndCacheObject(Object, IntPtr)

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

Methods

BeginInvoke(AsyncCallback, Object)

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

EndInvoke(IAsyncResult)

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

Invoke()

Declaration
public virtual TObject Invoke()
Returns
Type Description
TObject

Extension Methods