Condividi tramite


DefaultControllerFactory Costruttore

Definizione

Inizializza una nuova istanza di DefaultControllerFactory.

public:
 DefaultControllerFactory(Microsoft::AspNetCore::Mvc::Controllers::IControllerActivator ^ controllerActivator, System::Collections::Generic::IEnumerable<Microsoft::AspNetCore::Mvc::Internal::IControllerPropertyActivator ^> ^ propertyActivators);
public DefaultControllerFactory (Microsoft.AspNetCore.Mvc.Controllers.IControllerActivator controllerActivator, System.Collections.Generic.IEnumerable<Microsoft.AspNetCore.Mvc.Internal.IControllerPropertyActivator> propertyActivators);
new Microsoft.AspNetCore.Mvc.Controllers.DefaultControllerFactory : Microsoft.AspNetCore.Mvc.Controllers.IControllerActivator * seq<Microsoft.AspNetCore.Mvc.Internal.IControllerPropertyActivator> -> Microsoft.AspNetCore.Mvc.Controllers.DefaultControllerFactory
Public Sub New (controllerActivator As IControllerActivator, propertyActivators As IEnumerable(Of IControllerPropertyActivator))

Parametri

controllerActivator
IControllerActivator

IControllerActivator usato per creare istanze del controller.

propertyActivators
IEnumerable<Microsoft.AspNetCore.Mvc.Internal.IControllerPropertyActivator>

Set di Microsoft.AspNetCore.Mvc.Internal.IControllerPropertyActivator istanze utilizzate per inizializzare le proprietà del controller.

Si applica a