19 references to Method
Microsoft.Extensions.Http.Diagnostics (11)
Logging\HttpClientLoggingTagNames.cs (1)
68Method,
Logging\Internal\Log.cs (10)
23$"{{{HttpClientLoggingTagNames.Method}}} {{{HttpClientLoggingTagNames.Host}}}/{{{HttpClientLoggingTagNames.Path}}}"; 27$"{{{HttpClientLoggingTagNames.Method}}} {{{HttpClientLoggingTagNames.Host}}}/{{{HttpClientLoggingTagNames.Path}}}"; 30$"The logger couldn't read its context for {{RequestState}} request: {{{HttpClientLoggingTagNames.Method}}} {{{HttpClientLoggingTagNames.Host}}}"; 34$"{{{HttpClientLoggingTagNames.Method}}} {{{HttpClientLoggingTagNames.Host}}}/{{{HttpClientLoggingTagNames.Path}}}"; 52[TagName(HttpClientLoggingTagNames.Method)] HttpMethod method, 60[TagName(HttpClientLoggingTagNames.Method)] HttpMethod method, 69[TagName(HttpClientLoggingTagNames.Method)] HttpMethod method, 77[TagName(HttpClientLoggingTagNames.Method)] HttpMethod method, 101loggerMessageState.TagArray[index++] = new(HttpClientLoggingTagNames.Method, record.Method); 164if (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());