Class FactoryDelegate<TType>

Defines the layout of functions used as service factory.

Inheritance
System.Object
FactoryDelegate<TType>
Namespace: Solti.Utils.DI.Interfaces
Assembly: Solti.Utils.DI.Interfaces.dll
Syntax
public sealed class FactoryDelegate<TType> : MulticastDelegate where TType : class
Type Parameters
Name Description
TType

Constructors

FactoryDelegate(Object, IntPtr)

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

Methods

BeginInvoke(IInjector, AsyncCallback, Object)

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

EndInvoke(IAsyncResult)

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

Invoke(IInjector)

Declaration
public virtual TType Invoke(IInjector scope)
Parameters
Type Name Description
IInjector scope
Returns
Type Description
TType
In This Article
Back to top Generated by DocFX