17 references to Duration
Microsoft.AspNetCore.Diagnostics.Middleware (1)
Logging\HttpLoggingTagNames.cs (1)
66
Duration
,
Microsoft.AspNetCore.Diagnostics.Middleware.Tests (16)
Logging\AcceptanceTests.cs (12)
193
Assert.Single(state, x => x.Key == HttpLoggingTagNames.
Duration
&&
253
Assert.Single(state, x => x.Key == HttpLoggingTagNames.
Duration
&&
319
Assert.DoesNotContain(requestState, x => x.Key == HttpLoggingTagNames.
Duration
);
337
Assert.Single(durationState, x => x.Key == HttpLoggingTagNames.
Duration
&& x.Value != null);
380
Assert.Single(state, x => x.Key == HttpLoggingTagNames.
Duration
&&
541
Assert.DoesNotContain(firstRecord, x => x.Key == HttpLoggingTagNames.
Duration
);
542
Assert.DoesNotContain(secondRecord!, x => x.Key == HttpLoggingTagNames.
Duration
);
544
Assert.DoesNotContain(fourthRecord, x => x.Key == HttpLoggingTagNames.
Duration
);
545
Assert.DoesNotContain(fithRecord!, x => x.Key == HttpLoggingTagNames.
Duration
);
554
Assert.Single(thirdRecord, x => x.Key == HttpLoggingTagNames.
Duration
&& x.Value != null);
555
Assert.Single(sixthRecord, x => x.Key == HttpLoggingTagNames.
Duration
&& x.Value != null);
586
Assert.Single(state, x => x.Key == HttpLoggingTagNames.
Duration
&&
Logging\AcceptanceTests.Mvc.cs (4)
85
Assert.Single(state, x => x.Key == HttpLoggingTagNames.
Duration
&&
123
Assert.Single(state, x => x.Key == HttpLoggingTagNames.
Duration
&&
175
Assert.Single(state, x => x.Key == HttpLoggingTagNames.
Duration
&&
210
Assert.Single(state, x => x.Key == HttpLoggingTagNames.
Duration
&&