Delen via


DefaultControllerFactory Constructor

Definition

Initializes a new instance of 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))

Parameters

controllerActivator
IControllerActivator

IControllerActivator used to create controller instances.

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

A set of Microsoft.AspNetCore.Mvc.Internal.IControllerPropertyActivator instances used to initialize controller properties.

Applies to