Files
linux-packaging-mono/external/aspnetwebstack/src/System.Web.Http/FromBodyAttribute.cs

16 lines
557 B
C#
Raw Normal View History

// 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
{
}
}