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