15 references to Method
Microsoft.AspNetCore.Diagnostics.Middleware (1)
Logging\HttpLoggingTagNames.cs (1)
68
Method
,
Microsoft.AspNetCore.Diagnostics.Middleware.Tests (14)
Logging\AcceptanceTests.cs (9)
236
Assert.Single(state, x => x.Key == HttpLoggingTagNames.
Method
&& x.Value == HttpMethod.Post.ToString());
296
Assert.Single(state, x => x.Key == HttpLoggingTagNames.
Method
&& x.Value == HttpMethod.Post.ToString());
349
Assert.Single(state, x => x.Key == HttpLoggingTagNames.
Method
&& x.Value == HttpMethod.Post.ToString());
409
Assert.Single(requestState, x => x.Key == HttpLoggingTagNames.
Method
&& x.Value == HttpMethod.Post.ToString());
470
Assert.Single(state, x => x.Key == HttpLoggingTagNames.
Method
&& x.Value == HttpMethod.Get.ToString());
509
Assert.Single(state, x => x.Key == HttpLoggingTagNames.
Method
&& x.Value == HttpMethod.Delete.ToString());
668
Assert.Single(state, x => x.Key == HttpLoggingTagNames.
Method
&& x.Value == HttpMethod.Get.ToString());
709
Assert.Single(state, x => x.Key == HttpLoggingTagNames.
Method
&& x.Value == HttpMethod.Put.ToString());
743
Assert.Single(state, x => x.Key == HttpLoggingTagNames.
Method
&& x.Value == HttpMethod.Put.ToString());
Logging\AcceptanceTests.Mvc.cs (5)
84
Assert.Single(state, x => x.Key == HttpLoggingTagNames.
Method
&& x.Value == HttpMethod.Get.ToString());
122
Assert.Single(state, x => x.Key == HttpLoggingTagNames.
Method
&& x.Value == HttpMethod.Get.ToString());
174
Assert.Single(state, x => x.Key == HttpLoggingTagNames.
Method
&& x.Value == HttpMethod.Get.ToString());
209
Assert.Single(state, x => x.Key == HttpLoggingTagNames.
Method
&& x.Value == HttpMethod.Get.ToString());
252
Assert.Single(state, x => x.Key == HttpLoggingTagNames.
Method
&& x.Value == HttpMethod.Get.ToString());