AttributeRouting Class

Syntax

public class AttributeRouting

GitHub

View on GitHub

class Microsoft.AspNet.Mvc.Routing.AttributeRouting

Fields

RouteGroupKey()
public static readonly string RouteGroupKey

Methods

CreateAttributeMegaRoute(IRouter, System.IServiceProvider)

Creates an attribute route using the provided services and provided target router.

Arguments:
  • target (IRouter) – The router to invoke when a route entry matches.
  • services (System.IServiceProvider) – The application services.
Return type:

IRouter

Returns:

An attribute route.

public static IRouter CreateAttributeMegaRoute(IRouter target, IServiceProvider services)