Share via


ServiceBasedControllerActivator Class

Definition

A IControllerActivator that retrieves controllers as services from the request's IServiceProvider.

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

Constructors

ServiceBasedControllerActivator()

Methods

Create(ControllerContext)

Creates a controller.

Release(ControllerContext, Object)

Releases a controller.

Applies to