Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/aspnetwebstack.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'src/Microsoft.Web.Http.Data/DeleteAttribute.cs')
-rw-r--r--src/Microsoft.Web.Http.Data/DeleteAttribute.cs14
1 files changed, 14 insertions, 0 deletions
diff --git a/src/Microsoft.Web.Http.Data/DeleteAttribute.cs b/src/Microsoft.Web.Http.Data/DeleteAttribute.cs
new file mode 100644
index 00000000..5fdea8bb
--- /dev/null
+++ b/src/Microsoft.Web.Http.Data/DeleteAttribute.cs
@@ -0,0 +1,14 @@
+using System;
+
+namespace Microsoft.Web.Http.Data
+{
+ /// <summary>
+ /// Attribute applied to a <see cref="DataController"/> method to indicate that it is a delete method.
+ /// </summary>
+ [AttributeUsage(
+ AttributeTargets.Field | AttributeTargets.Method | AttributeTargets.Property,
+ AllowMultiple = false, Inherited = true)]
+ public sealed class DeleteAttribute : Attribute
+ {
+ }
+}