Skip to content
Browse files

Set Length in MaxLengthAttribute ctor

  • Loading branch information...
1 parent a58334e commit 47634892ee4d5e4bb27c0a3873c281ae241334dd @marek-safar marek-safar committed Jul 20, 2012
View
1 ...omponentModel.DataAnnotations/System.ComponentModel.DataAnnotations/MaxLengthAttribute.cs
@@ -39,6 +39,7 @@ public MaxLengthAttribute ()
public MaxLengthAttribute (int length)
{
+ Length = length;
}
public int Length { get; private set; }

0 comments on commit 4763489

Please sign in to comment.
Something went wrong with that request. Please try again.