Five New Optimizely Certifications are Here! Validate your expertise and advance your career with our latest certification exams. Click here to find out more

Interface IControllerTypeMap

Resolves controller name to controller type.

Namespace: EPiServer.Web.Mvc
Assembly: EPiServer.dll
Version: 7.19.2
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