November Happy Hour will be moved to Thursday December 5th.

Interface IControllerTypeMap

Resolves controller name to controller type.

Namespace: EPiServer.Web.Mvc
Assembly: EPiServer.Cms.AspNet.dll
Version: 11.20.7
Syntax
public interface IControllerTypeMap

Methods

TryGetControllerType(RequestContext, out Type)

Tries to resolve the type for a certain controller.

Declaration
bool TryGetControllerType(RequestContext requestContext, out Type controllerType)
Parameters
Type Name Description
System.Web.Routing.RequestContext requestContext

The request context.

System.Type controllerType

The matching controller type.

Returns
Type Description
System.Boolean

Extension Methods