ObjectFactory ObjectFactory ObjectFactory Delegate

Definition

public delegate object ObjectFactory(IServiceProvider serviceProvider, object[] arguments);
type ObjectFactory = delegate of IServiceProvider * obj[] -> obj
Public Delegate Function ObjectFactory(serviceProvider As IServiceProvider, arguments As Object()) As Object 

Parameters

serviceProvider
IServiceProvider IServiceProvider IServiceProvider

The IServiceProvider to get service arguments from.

arguments
Object[]

Additional constructor arguments.

Return Value

System.Object

The instantiated type.

Inheritance
ObjectFactoryObjectFactoryObjectFactory

Applies to