Show / Hide Table of Contents

Delegate Factory<T1>.Method

A delegate for a factory

Namespace: SpiceSharp.Reflection
Assembly: SpiceSharp.dll
Syntax
public delegate object Method(T1 arg);
Parameters
Type Name Description
T1 arg

The argument.

Returns
Type Description
System.Object

The resulting object.

Constructors

Method(Object, IntPtr)

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

Methods

BeginInvoke(T1, AsyncCallback, Object)

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

EndInvoke(IAsyncResult)

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

Invoke(T1)

Declaration
public virtual object Invoke(T1 arg)
Parameters
Type Name Description
T1 arg
Returns
Type Description
System.Object

Extension Methods

Utility.ThrowIfNull<T>(T, String)
Back to top Generated by DocFX