19 references to Method
Microsoft.Extensions.Http.Diagnostics (11)
Logging\HttpClientLoggingTagNames.cs (1)
68Method,
Logging\Internal\Log.cs (10)
26$"{{{HttpClientLoggingTagNames.Method}}} {{{HttpClientLoggingTagNames.Host}}}/{{{HttpClientLoggingTagNames.Path}}}"; 30$"{{{HttpClientLoggingTagNames.Method}}} {{{HttpClientLoggingTagNames.Host}}}/{{{HttpClientLoggingTagNames.Path}}}"; 33$"The logger couldn't read its context for {{RequestState}} request: {{{HttpClientLoggingTagNames.Method}}} {{{HttpClientLoggingTagNames.Host}}}"; 37$"{{{HttpClientLoggingTagNames.Method}}} {{{HttpClientLoggingTagNames.Host}}}/{{{HttpClientLoggingTagNames.Path}}}"; 55[TagName(HttpClientLoggingTagNames.Method)] HttpMethod method, 63[TagName(HttpClientLoggingTagNames.Method)] HttpMethod method, 72[TagName(HttpClientLoggingTagNames.Method)] HttpMethod method, 80[TagName(HttpClientLoggingTagNames.Method)] HttpMethod method, 104loggerMessageState.TagArray[index++] = new(HttpClientLoggingTagNames.Method, record.Method); 171if (kvp.Key == HttpClientLoggingTagNames.Method)
Microsoft.Extensions.Http.Diagnostics.Tests (8)
Logging\AcceptanceTests.cs (1)
375state.Should().ContainSingle(kvp => kvp.Key == HttpClientLoggingTagNames.Method)
Logging\HttpClientLoggerTest.cs (7)
244logRecordState.Contains(HttpClientLoggingTagNames.Method, expectedLogRecord.Method.ToString()); 341logRecordRequest.Contains(HttpClientLoggingTagNames.Method, expectedLogRecord.Method.ToString()); 350logRecordFull.Contains(HttpClientLoggingTagNames.Method, expectedLogRecord.Method.ToString()); 446logRecordState.Contains(HttpClientLoggingTagNames.Method, expectedLogRecord.Method.ToString()); 561logRecordState.Contains(HttpClientLoggingTagNames.Method, expectedLogRecord.Method.ToString()); 651logRecordState.Contains(HttpClientLoggingTagNames.Method, expectedLogRecord.Method.ToString()); 924logRecord.Contains(HttpClientLoggingTagNames.Method, expectedLogRecord.Method.ToString());