1 instantiation of TimeSpan
Microsoft.Extensions.Http.Resilience (1)
Polly\HttpRetryBudgetOptions.cs (1)
55[TimeSpan("00:00:01", "1.00:00:00")]
6 references to TimeSpan
Microsoft.Extensions.Http.Resilience (6)
src\Shared\Data.Validation\TimeSpanAttribute.cs (6)
62/// Initializes a new instance of the <see cref="TimeSpanAttribute"/> class. 72/// Initializes a new instance of the <see cref="TimeSpanAttribute"/> class. 83/// Initializes a new instance of the <see cref="TimeSpanAttribute"/> class. 95/// Initializes a new instance of the <see cref="TimeSpanAttribute"/> class. 121throw new InvalidOperationException($"{nameof(TimeSpanAttribute)} requires that the minimum value be less than the maximum value (see field {validationContext.GetDisplayName()})"); 158throw new InvalidOperationException($"{nameof(TimeSpanAttribute)} can only be used with fields of type TimeSpan (see field {validationContext.GetDisplayName()})");