DefaultControllerFactory Constructor
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.