51 references to Method
dotnet-svcutil-lib (1)
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\HttpRequestMessageProperty.cs (1)
292
return this.HttpRequestMessage.Method.
Method
;
Microsoft.AspNetCore.Authentication.Twitter (1)
TwitterHandler.cs (1)
224
stringBuilder.Append(httpMethod.
Method
);
Microsoft.AspNetCore.SignalR.Client.Tests (1)
LongPollingTransportTests.cs (1)
282
switch (request.Method.
Method
)
Microsoft.AspNetCore.StaticFiles.Tests (21)
CacheHeaderTests.cs (21)
192
.SendAsync(method.
Method
);
198
.SendAsync(method.
Method
);
211
.SendAsync(method.
Method
);
217
.SendAsync(method.
Method
);
224
.SendAsync(method.
Method
);
237
.SendAsync(method.
Method
);
247
.SendAsync(method.
Method
);
253
.SendAsync(method.
Method
);
259
.SendAsync(method.
Method
);
288
.SendAsync(method.
Method
);
303
.SendAsync(method.
Method
);
324
.SendAsync(method.
Method
);
329
.SendAsync(method.
Method
);
342
.SendAsync(method.
Method
);
356
.SendAsync(method.
Method
);
371
.SendAsync(method.
Method
);
376
.SendAsync(method.
Method
);
391
.SendAsync(method.
Method
);
406
.SendAsync(method.
Method
);
420
.SendAsync(method.
Method
);
425
.SendAsync(method.
Method
);
Microsoft.DotNet.SwaggerGenerator.CodeGenerator (4)
Languages\angular\Angular.cs (1)
347
return method.
Method
.ToLowerInvariant();
Languages\csharp\CSharp.cs (3)
212
method.
Method
.ToLower() == "patch" || method == HttpMethod.Post || method == HttpMethod.Put)
214
return $"RequestMethod.{Helpers.PascalCase(method.
Method
.ToLower().AsSpan())}";
217
return $"RequestMethod.Parse(\"{method.
Method
}\")";
Microsoft.Extensions.Http.Diagnostics (1)
Http\DownstreamDependencyMetadataManager.cs (1)
52
return GetRequestMetadataInternal(requestMessage.Method.
Method
, requestMessage.RequestUri.AbsolutePath, hostMetadata);
Stress.AppHost (1)
ResourceBuilderExtensions.cs (1)
47
var commandType = $"http-{method.
Method
.ToLowerInvariant()}-{path.ToLowerInvariant()}-request";
System.Net.Http (17)
System\Net\Http\DiagnosticsHandler.cs (3)
116
activity.DisplayName = HttpMethod.GetKnownMethod(request.Method.
Method
)?.
Method
?? "HTTP";
125
activity.SetTag("http.request.method_original", request.Method.
Method
);
System\Net\Http\DiagnosticsHelper.cs (2)
48
HttpMethod? known = HttpMethod.GetKnownMethod(method.
Method
);
50
return new KeyValuePair<string, object?>("http.request.method", isUnknownMethod ? "_OTHER" : known!.
Method
);
System\Net\Http\HttpClient.cs (1)
582
!string.Equals(request.Method.
Method
, "HEAD", StringComparison.OrdinalIgnoreCase);
System\Net\Http\HttpMethod.SocketsHttpHandler.cs (10)
51
HttpMethod? knownMethod = GetKnownMethod(
Method
);
56
Debug.Assert(Ascii.IsValid(
Method
));
58
string method = knownMethod?.
Method
??
Method
;
75
HttpMethod? knownMethod = GetKnownMethod(
Method
);
84
_ => HPackEncoder.EncodeLiteralHeaderFieldWithoutIndexingToAllocatedArray(H2StaticTable.MethodGet, knownMethod?.
Method
??
Method
)
99
HttpMethod? knownMethod = GetKnownMethod(
Method
);
106
: QPackEncoder.EncodeLiteralHeaderFieldWithStaticNameReferenceToArray(H3StaticTable.MethodGet, knownMethod?.
Method
??
Method
);
System\Net\Http\SocketsHttpHandler\AuthenticationHelper.Digest.cs (1)
147
string a2 = request.Method.
Method
+ ":" + request.RequestUri.PathAndQuery;
System.Net.Requests (4)
System\Net\HttpWebRequest.cs (3)
39
private string _originVerb = HttpMethod.Get.
Method
;
1077
if (string.Equals(HttpMethod.Get.
Method
, _originVerb, StringComparison.OrdinalIgnoreCase) ||
1078
string.Equals(HttpMethod.Head.
Method
, _originVerb, StringComparison.OrdinalIgnoreCase) ||
System\Net\HttpWebResponse.cs (1)
225
return _httpResponseMessage.RequestMessage!.Method.
Method
;