Class StringLengthRestriction<TType>
Represents settings for string length validation
Type Parameters
Name | Description |
---|---|
TType | The type operated on |
Constructors
StringLengthRestriction()
Declaration
public StringLengthRestriction()
Properties
MaximumLength
The maximum length
Declaration
public int MaximumLength { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 |
MinimumLength
The minimum length
Declaration
public int MinimumLength { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 |
Selector
The selector
Declaration
public Expression<Func<TType, string>> Selector { get; set; }
Property Value
Type | Description |
---|---|
System.Linq.Expressions.Expression<System.Func<TType, System.String>> |