Table of Contents

Interface IDirectRouteFactory

Namespace
System.Web.Mvc.Routing
Assembly
System.Web.Mvc.dll

Defines a factory that creates a route directly to a set of action descriptors (an attribute route).

public interface IDirectRouteFactory

Methods

CreateRoute(DirectRouteFactoryContext)

Creates a direct route entry.

RouteEntry CreateRoute(DirectRouteFactoryContext context)

Parameters

context DirectRouteFactoryContext

The context to use to create the route.

Returns

RouteEntry

The direct route entry.