ObjectFactory Delegar

Definição

O resultado de CreateFactory(Type, Type[]).

public delegate System::Object ^ ObjectFactory(IServiceProvider ^ serviceProvider, cli::array <System::Object ^> ^ arguments);
public delegate object ObjectFactory(IServiceProvider serviceProvider, object[] arguments);
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 

Parâmetros

serviceProvider
IServiceProvider

O IServiceProvider do qual obter argumentos de serviço.

arguments
Object[]

Argumentos do construtor adicionais.

Valor Retornado

Object

O tipo instanciado.

Aplica-se a