code guidelines

This commit is contained in:
Paul Schneider 2020-10-09 19:35:39 +01:00
commit 492427f4b8
82 changed files with 470 additions and 375 deletions

View file

@ -5,7 +5,7 @@ namespace Yavsc.Attributes.Validation
public partial class YaStringLength: YaValidationAttribute
{
public long MinimumLength { get; set; } = 0;
private long maxLen;
private readonly long maxLen;
public YaStringLength(long maxLen) : base( ()=> "BadStringLength")
{
this.maxLen = maxLen;
@ -50,4 +50,4 @@ namespace Yavsc.Attributes.Validation
}
}
}
}