summaryrefslogtreecommitdiff
path: root/external/aspnetwebstack/src/System.Web.Http/HttpBindNeverAttribute.cs
blob: 36ee5a5db485f97e7ac6cc4b0a90635d4793ef7a (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 HttpBindNeverAttribute : HttpBindingBehaviorAttribute
    {
        public HttpBindNeverAttribute()
            : base(HttpBindingBehavior.Never)
        {
        }
    }
}