Merge pull request #2545 from ermshiperete/Xamarin-24974
[mono.git] / mcs / class / System.Web.DynamicData / Test / ModelProviders / DynamicDataSortableAttribute.cs
1 using System;
2 using System.Collections.Generic;
3 using System.Linq;
4 using System.Text;
5 using System.Web.DynamicData.ModelProviders;
6
7 namespace MonoTests.ModelProviders
8 {
9         [AttributeUsage (AttributeTargets.Property | AttributeTargets.Field, AllowMultiple = false)]
10         class DynamicDataSortableAttribute : Attribute
11         {
12                 public bool Sortable { get; private set; }
13
14                 public DynamicDataSortableAttribute (bool sortable)
15                 {
16                         Sortable = sortable;
17                 }
18         }
19 }