summaryrefslogtreecommitdiff
path: root/external/aspnetwebstack/src/System.Web.Http/FromBodyAttribute.cs
blob: a3d2ec6421376655068224aae9fa7ad47cb2c8fe (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.Net.Http;

namespace System.Web.Http
{
    /// <summary>
    /// This attribute is used on action parameters to indicate
    /// they come only from the content body of the incoming <see cref="HttpRequestMessage"/>.
    /// </summary>
    [AttributeUsage(AttributeTargets.Class | AttributeTargets.Parameter, Inherited = true, AllowMultiple = false)]
    public sealed class FromBodyAttribute : Attribute
    {
    }
}