ObjectFactory Delegado

Definición

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

La interfaz IServiceProvider de la que se van a obtener los argumentos de servicio.The IServiceProvider to get service arguments from.

arguments
Object[]

Argumentos de constructor adicionales.Additional constructor arguments.

Valor devuelto

Object

El tipo del que se ha creado la instancia.The instantiated type.

Se aplica a