We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 935d495 commit 9f9d3e2Copy full SHA for 9f9d3e2
1 file changed
Simple.API/ClientBuilderAttributes/Attributes.cs
@@ -2,6 +2,7 @@
2
3
using System;
4
5
+/* Interface Attributes */
6
[AttributeUsage(AttributeTargets.Interface)]
7
public class TimeoutAttribute : Attribute
8
{
@@ -13,7 +14,7 @@ public TimeoutAttribute(int timeoutInSeconds)
13
14
}
15
16
-
17
+/* Method Attributes */
18
public class MethodAttribute : Attribute
19
20
public string Route { get; protected set; }
@@ -39,4 +40,9 @@ public class PutAttribute : MethodAttribute
39
40
public class DeleteAttribute : MethodAttribute
41
42
public DeleteAttribute(string route) => Route = route;
-}
43
+}
44
+
45
+/* Parameter Attributes */
46
+[AttributeUsage(AttributeTargets.Parameter)]
47
+public class InRouteAttribute : Attribute
48
+{ }
0 commit comments