a575963da9
Former-commit-id: da6be194a6b1221998fc28233f2503bd61dd9d14
20 lines
464 B
C#
20 lines
464 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Web.DynamicData.ModelProviders;
|
|
|
|
namespace MonoTests.ModelProviders
|
|
{
|
|
[AttributeUsage (AttributeTargets.Property | AttributeTargets.Field, AllowMultiple = false)]
|
|
class DynamicDataStringLengthAttribute : Attribute
|
|
{
|
|
public int MaxLength { get; private set; }
|
|
|
|
public DynamicDataStringLengthAttribute (int maxLength)
|
|
{
|
|
MaxLength = maxLength;
|
|
}
|
|
}
|
|
}
|