/// <summary> /// Initializes a new instance of the <see cref="ValidationLimits" /> class. /// </summary> /// <param name="MinLength">MinLength.</param> /// <param name="MaxLength">MaxLength.</param> /// <param name="MinItems">MinItems.</param> /// <param name="MaxItems">MaxItems.</param> /// <param name="Minimum">Minimum.</param> /// <param name="Maximum">Maximum.</param> public ValidationLimits(MinLength MinLength = null, MaxLength MaxLength = null, MinLength MinItems = null, MaxLength MaxItems = null, MinLength Minimum = null, MaxLength Maximum = null) { this.MinLength = MinLength; this.MaxLength = MaxLength; this.MinItems = MinItems; this.MaxItems = MaxItems; this.Minimum = Minimum; this.Maximum = Maximum; }
/// <summary> /// Initializes a new instance of the <see cref="ItemValidationLimits" /> class. /// </summary> /// <param name="MinLength">A structure denoting the system-imposed minimum string length (for text-based core types) or numeric values (for number-based) core types. For example, the validationLimits for a text-based core type specify the min/max values for a minimum string length (minLength) constraint supplied by a schemaauthor on a text field. Similarly, the maxLength's min/max specifies maximum string length constraint supplied by a schema author for the same field. (required).</param> /// <param name="MaxLength">A structure denoting the system-imposed minimum and maximum string length (for text-based core types) or numeric values (for number-based) core types. For example, the validationLimits for a text-based core type specify the min/max values for a minimum string length (minLength) constraint supplied by a schemaauthor on a text field. Similarly, the maxLength's min/max specifies maximum string length constraint supplied by a schema author for the same field. (required).</param> public ItemValidationLimits(MinLength MinLength = null, MaxLength MaxLength = null) { this.MinLength = MinLength; this.MaxLength = MaxLength; }