Class Hook<TRequest, TResponse>.OverrideDelegate
Definition of this hooks override method
Inheritance
System.Object
Hook<TRequest, TResponse>.OverrideDelegate
Assembly: DirectScale.Disco.Extension.Abstractions.dll
Syntax
public sealed class OverrideDelegate : MulticastDelegate
Constructors
OverrideDelegate(Object, IntPtr)
Declaration
public OverrideDelegate(object object, IntPtr method)
Parameters
Type |
Name |
Description |
System.Object |
object |
|
System.IntPtr |
method |
|
Methods
BeginInvoke(TRequest, Func<TRequest, TResponse>, AsyncCallback, Object)
Declaration
public virtual IAsyncResult BeginInvoke(TRequest request, Func<TRequest, TResponse> func, AsyncCallback callback, object object)
Parameters
Type |
Name |
Description |
TRequest |
request |
|
System.Func<TRequest, TResponse> |
func |
|
System.AsyncCallback |
callback |
|
System.Object |
object |
|
Returns
Type |
Description |
System.IAsyncResult |
|
EndInvoke(IAsyncResult)
Declaration
public virtual TResponse EndInvoke(IAsyncResult result)
Parameters
Type |
Name |
Description |
System.IAsyncResult |
result |
|
Returns
Type |
Description |
TResponse |
|
Invoke(TRequest, Func<TRequest, TResponse>)
Declaration
public virtual TResponse Invoke(TRequest request, Func<TRequest, TResponse> func)
Parameters
Type |
Name |
Description |
TRequest |
request |
|
System.Func<TRequest, TResponse> |
func |
|
Returns
Type |
Description |
TResponse |
|