diff options
Diffstat (limited to 'Codemerx/Gestor.Common/Gestor.Common.Helpers/OrderAttribute.cs')
| -rw-r--r-- | Codemerx/Gestor.Common/Gestor.Common.Helpers/OrderAttribute.cs | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/Codemerx/Gestor.Common/Gestor.Common.Helpers/OrderAttribute.cs b/Codemerx/Gestor.Common/Gestor.Common.Helpers/OrderAttribute.cs new file mode 100644 index 0000000..58dba77 --- /dev/null +++ b/Codemerx/Gestor.Common/Gestor.Common.Helpers/OrderAttribute.cs @@ -0,0 +1,20 @@ +using System;
+using System.Runtime.CompilerServices;
+
+namespace Gestor.Common.Helpers
+{
+ [AttributeUsage(AttributeTargets.All)]
+ public class OrderAttribute : Attribute
+ {
+ public int OrderProperty
+ {
+ get;
+ private set;
+ }
+
+ public OrderAttribute(int orderProperty)
+ {
+ this.OrderProperty = orderProperty;
+ }
+ }
+}
\ No newline at end of file |