Click or drag to resize

StringLengthAttribute Class

Validation attribute for the correct length of data elements.
Inheritance Hierarchy

Namespace:  EdiFabric.Core.Annotations.Validation
Assembly:  EdiFabric.Core (in EdiFabric.Core.dll) Version: 1.2.0
Syntax
public class StringLengthAttribute : ValidationAttribute

The StringLengthAttribute type exposes the following members.

Constructors
  NameDescription
Public methodStringLengthAttribute
Initializes a new instance of the StringLengthAttribute class.
Top
Properties
  NameDescription
Public propertyMaxLen
The maximum allowed length.
Public propertyMinLen
The minimum allowed length.
Top
Methods
See Also