summaryrefslogtreecommitdiff
path: root/Codemerx/Gestor.Common/Gestor.Common.Helpers/OrderAttribute.cs
blob: 58dba77e2d3c7b5a49ba18da7c2f90ebbcdb16cc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
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;
		}
	}
}