Table of Contents

Delegate InfoObjectRepository<TCollection, TObject, TSettings>.LoadCollectionHandler

Namespace
CMS.DataEngine
Assembly
CMS.DataEngine.dll

Delegate to define the handle to load the collection of this type.

public delegate TCollection InfoObjectRepository<TCollection, TObject, TSettings>.LoadCollectionHandler(IInfoObjectRepository<TCollection> repository, string name)

Parameters

repository IInfoObjectRepository<TCollection>

Repository into which the collection loads

name string

Collection name

Returns

TCollection
Delegate to define the handle to load the collection of this type.
Extension Methods

Constructors

LoadCollectionHandler(object, nint)

public LoadCollectionHandler(object @object, nint method)

Parameters

object object
method nint

Methods

BeginInvoke(IInfoObjectRepository<TCollection>, string, AsyncCallback, object)

public virtual IAsyncResult BeginInvoke(IInfoObjectRepository<TCollection> repository, string name, AsyncCallback callback, object @object)

Parameters

repository IInfoObjectRepository<TCollection>
name string
callback AsyncCallback
object object

Returns

IAsyncResult

EndInvoke(IAsyncResult)

public virtual TCollection EndInvoke(IAsyncResult result)

Parameters

result IAsyncResult

Returns

TCollection

Invoke(IInfoObjectRepository<TCollection>, string)

public virtual TCollection Invoke(IInfoObjectRepository<TCollection> repository, string name)

Parameters

repository IInfoObjectRepository<TCollection>
name string

Returns

TCollection