2 using System.Collections.Generic;
5 using System.Web.DynamicData.ModelProviders;
7 namespace MonoTests.ModelProviders
9 [AttributeUsage (AttributeTargets.Property | AttributeTargets.Field, AllowMultiple = false)]
10 class DynamicDataStringLengthAttribute : Attribute
12 public int MaxLength { get; private set; }
14 public DynamicDataStringLengthAttribute (int maxLength)
16 MaxLength = maxLength;