summaryrefslogtreecommitdiff
path: root/external/aspnetwebstack/src/System.Web.Http/HttpBindRequiredAttribute.cs
blob: 3d73d77e2088d169cdea268237cef13769ec9dde (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.

using System.Web.Http.ModelBinding;

namespace System.Web.Http
{
    [AttributeUsage(AttributeTargets.Class | AttributeTargets.Property, AllowMultiple = false, Inherited = true)]
    public sealed class HttpBindRequiredAttribute : HttpBindingBehaviorAttribute
    {
        public HttpBindRequiredAttribute()
            : base(HttpBindingBehavior.Required)
        {
        }
    }
}