// Copyright (c) Microsoft Open Technologies, Inc. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System; using System.Collections.Generic; namespace Microsoft.AspNet.Mvc { [AttributeUsage(AttributeTargets.Method, AllowMultiple = false, Inherited = true)] public sealed class HttpDeleteAttribute : Attribute, IActionHttpMethodProvider { private static readonly IEnumerable _supportedMethods = new string[] { "DELETE" }; public IEnumerable HttpMethods { get { return _supportedMethods; } } } }