Udostępnij za pośrednictwem


IControllerActivator.Create(RequestContext, Type) Metoda

Definicja

Po zaimplementowaniu w klasie tworzy kontroler.

public System.Web.Mvc.IController Create (System.Web.Routing.RequestContext requestContext, Type controllerType);
abstract member Create : System.Web.Routing.RequestContext * Type -> System.Web.Mvc.IController
Public Function Create (requestContext As RequestContext, controllerType As Type) As IController

Parametry

requestContext
RequestContext

Kontekst żądania.

controllerType
Type

Typ kontrolera.

Zwraca

Utworzony kontroler.

Dotyczy