Share via


DefaultControllerFactory Class

Definition

Default implementation for IControllerFactory.

public ref class DefaultControllerFactory : Microsoft::AspNetCore::Mvc::Controllers::IControllerFactory
public class DefaultControllerFactory : Microsoft.AspNetCore.Mvc.Controllers.IControllerFactory
type DefaultControllerFactory = class
    interface IControllerFactory
Public Class DefaultControllerFactory
Implements IControllerFactory
Inheritance
DefaultControllerFactory
Implements

Constructors

DefaultControllerFactory(IControllerActivator, IEnumerable<IControllerPropertyActivator>)

Initializes a new instance of DefaultControllerFactory.

Properties

ControllerActivator

The IControllerActivator used to create a controller.

Methods

CreateController(ControllerContext)

Creates a new controller for the specified context.

ReleaseController(ControllerContext, Object)

Releases a controller instance.

Applies to