Class InstanceProviderDelegate<TInstance>
Delegate used to create InstanceProviders.
Inheritance
System.Object
InstanceProviderDelegate<TInstance>
Namespace: Cesil
Assembly: Cesil.dll
Syntax
public sealed class InstanceProviderDelegate<TInstance> : MulticastDelegate
Type Parameters
Name |
Description |
TInstance |
|
Constructors
InstanceProviderDelegate(Object, IntPtr)
Declaration
public InstanceProviderDelegate(object object, IntPtr method)
Parameters
Type |
Name |
Description |
System.Object |
object |
|
System.IntPtr |
method |
|
Methods
BeginInvoke(ReadContext, out TInstance, AsyncCallback, Object)
Declaration
public virtual IAsyncResult BeginInvoke(in ReadContext context, out TInstance instance, AsyncCallback callback, object object)
Parameters
Type |
Name |
Description |
ReadContext |
context |
|
TInstance |
instance |
|
System.AsyncCallback |
callback |
|
System.Object |
object |
|
Returns
Type |
Description |
System.IAsyncResult |
|
EndInvoke(ReadContext, out TInstance, IAsyncResult)
Declaration
public virtual bool EndInvoke(in ReadContext context, out TInstance instance, IAsyncResult result)
Parameters
Type |
Name |
Description |
ReadContext |
context |
|
TInstance |
instance |
|
System.IAsyncResult |
result |
|
Returns
Type |
Description |
System.Boolean |
|
Invoke(ReadContext, out TInstance)
Declaration
public virtual bool Invoke(in ReadContext context, out TInstance instance)
Parameters
Type |
Name |
Description |
ReadContext |
context |
|
TInstance |
instance |
|
Returns
Type |
Description |
System.Boolean |
|