A critical vulnerability was discovered in React Server Components (Next.js). Our systems remain protected but we advise to update packages to newest version. Learn More

Interface IControllerTypeMap

Resolves controller name to controller type.

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