forked from aspnet/AspNetWebStack
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathRouteDataTokenKeys.cs
More file actions
23 lines (19 loc) · 945 Bytes
/
RouteDataTokenKeys.cs
File metadata and controls
23 lines (19 loc) · 945 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
// Copyright (c) .NET Foundation. All rights reserved.
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
namespace System.Web.Http.Routing
{
/// <summary>
/// Provides keys for looking up route values and data tokens.
/// </summary>
internal static class RouteDataTokenKeys
{
// Used to provide the action descriptors to consider for attribute routing
public const string Actions = "actions";
// Used to indicate that a route is a controller-level attribute route.
public const string Controller = "controller";
// Used to allow customer-provided disambiguation between multiple matching attribute routes
public const string Order = "order";
// Used to allow URI constraint-based disambiguation between multiple matching attribute routes
public const string Precedence = "precedence";
}
}