AttributeRouting Class

Namespace
Microsoft.AspNetCore.Mvc.Internal
Assemblies
  • Microsoft.AspNetCore.Mvc.Core

Syntax

public class AttributeRouting
class Microsoft.AspNetCore.Mvc.Internal.AttributeRouting

Methods

CreateAttributeMegaRoute(System.IServiceProvider)

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

Arguments:services (System.IServiceProvider) – The application services.
Return type:Microsoft.AspNetCore.Routing.IRouter
Returns:An attribute route.
public static IRouter CreateAttributeMegaRoute(IServiceProvider services)