DefaultDirectRouteProvider.GetAreaPrefix(ControllerDescriptor) Method

Definition

Gets the area prefix from the provided controller.

protected virtual string GetAreaPrefix (System.Web.Mvc.ControllerDescriptor controllerDescriptor);
abstract member GetAreaPrefix : System.Web.Mvc.ControllerDescriptor -> string
override this.GetAreaPrefix : System.Web.Mvc.ControllerDescriptor -> string
Protected Overridable Function GetAreaPrefix (controllerDescriptor As ControllerDescriptor) As String

Parameters

controllerDescriptor
ControllerDescriptor

The controller descriptor.

Returns

The area prefix or null.

Applies to