summaryrefslogtreecommitdiff
path: root/external/aspnetwebstack/src/System.Web.Http/ActionNameAttribute.cs
blob: e999e246477c2a1babdcd9d204090a22f2c7dcb7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
// Copyright (c) Microsoft Corporation. All rights reserved. See License.txt in the project root for license information.

namespace System.Web.Http
{
    [AttributeUsage(AttributeTargets.Method, AllowMultiple = false, Inherited = true)]
    public sealed class ActionNameAttribute : Attribute
    {
        public ActionNameAttribute(string name)
        {
            Name = name;
        }

        public string Name { get; private set; }
    }
}