2 writes to MinimumLength
Microsoft.Extensions.Http.Resilience (2)
src\Shared\Data.Validation\LengthAttribute.cs (2)
59MinimumLength = minimumLength; 77MinimumLength = minimumLength;
10 references to MinimumLength
Microsoft.Extensions.Http.Resilience (10)
src\Shared\Data.Validation\LengthAttribute.cs (10)
42/// Gets or sets a value indicating whether the length validation should exclude the <see cref="MinimumLength"/> and <see cref="MaximumLength"/> values. 91/// <exception cref="ArgumentOutOfRangeException"><see cref="MinimumLength"/> is less than zero or if it is greater than <see cref="MaximumLength"/>.</exception> 96if (MinimumLength < 0) 101if (MaximumLength.HasValue && MinimumLength >= MaximumLength) 160? count > MinimumLength && count < MaximumLength 161: count >= MinimumLength && count <= MaximumLength; 167? count > MinimumLength 168: count >= MinimumLength; 181? $"The field {validationContext.GetDisplayName()} length must be in the {exclusiveString}range [{MinimumLength}..{MaximumLength}]." 182: $"The field {validationContext.GetDisplayName()} length must be greater {orEqualString}than {MinimumLength}.";