Click or drag to resize
ListCountAttribute Class
Validation attribute for lists. Sets the minimum and maximum of the contained items.
Inheritance Hierarchy

Namespace: EdiFabric.Core.Annotations.Validation
Assembly: EdiFabric.Core (in EdiFabric.Core.dll) Version: 1.0.0.0 (1.1.1.0)
Syntax
public class ListCountAttribute : ValidationAttribute

The ListCountAttribute type exposes the following members.

Constructors
  NameDescription
Public methodListCountAttribute(Int32)
Initializes a new instance of the ListCountAttribute class.
Public methodListCountAttribute(Int32, Int32)
Initializes a new instance of the ListCountAttribute class.
Top
Properties
  NameDescription
Public propertyMaxCount
The maximum allowed items.
Public propertyMinCount
The minimum allowed items.
Top
Methods
See Also