Class FactoryDelegate
Defines the layout of functions used as service factory.
Inheritance
System.Object
FactoryDelegate
Assembly: Solti.Utils.DI.Interfaces.dll
Syntax
public sealed class FactoryDelegate : MulticastDelegate
Constructors
FactoryDelegate(Object, IntPtr)
Declaration
public FactoryDelegate(object object, IntPtr method)
Parameters
Type |
Name |
Description |
System.Object |
object |
|
System.IntPtr |
method |
|
Methods
BeginInvoke(IInjector, Type, AsyncCallback, Object)
Declaration
public virtual IAsyncResult BeginInvoke(IInjector scope, Type type, AsyncCallback callback, object object)
Parameters
Type |
Name |
Description |
IInjector |
scope |
|
System.Type |
type |
|
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(IInjector, Type)
Declaration
public virtual object Invoke(IInjector scope, Type type)
Parameters
Type |
Name |
Description |
IInjector |
scope |
|
System.Type |
type |
|
Returns
Type |
Description |
System.Object |
|