24 references to Patch
AnalyzeCiFailure (6)
AnalysisPublisher.cs (4)
292HttpMethod.Patch, 317HttpMethod.Patch, 545HttpMethod.Patch, 579exists ? HttpMethod.Patch : HttpMethod.Post,
AnalysisPublisher.Overflow.cs (2)
167HttpMethod.Patch, 180create ? HttpMethod.Post : HttpMethod.Patch,
AnalyzeCiFailure.TestHost (3)
tests\AnalyzeCiFailure.Tests\TestServices\GitHubFixtureHandler.cs (3)
121RequireMethod(request, path.EndsWith("/labels", StringComparison.Ordinal) ? HttpMethod.Post : HttpMethod.Patch); 134RequireMethod(request, HttpMethod.Patch); 157RequireMethod(request, HttpMethod.Patch);
AnalyzeCiFailure.Tests (3)
TestServices\GitHubFixtureHandler.cs (3)
121RequireMethod(request, path.EndsWith("/labels", StringComparison.Ordinal) ? HttpMethod.Post : HttpMethod.Patch); 134RequireMethod(request, HttpMethod.Patch); 157RequireMethod(request, HttpMethod.Patch);
aspire (1)
Utils\EnvironmentChecker\DcpConnectionChecker.cs (1)
334using var request = new HttpRequestMessage(HttpMethod.Patch, new Uri(kubeconfig.Server, "/admin/execution"))
Aspire.Hosting (1)
Dcp\DcpKubernetesClient.cs (1)
182Method = HttpMethod.Patch,
Aspire.Hosting.Native.Core.Tests (1)
TestServices\DcpCleanupTestHandler.cs (1)
48if (request.Method == HttpMethod.Patch)
Aspire.Hosting.Native.Server (3)
Dcp\DcpApiClient.cs (3)
179new MediaTypeHeaderValue(method == HttpMethod.Patch ? "application/merge-patch+json" : "application/json")); 217await SendAsync(HttpMethod.Patch, "admin/execution", JsonSerializer.SerializeToElement( 237await SendAsync(HttpMethod.Patch, "admin/execution", JsonSerializer.SerializeToElement(
Microsoft.AspNetCore.Mvc.Testing (1)
Handlers\RedirectHandler.cs (1)
64request.Method == HttpMethod.Post || request.Method == HttpMethod.Put || request.Method == HttpMethod.Patch;
Microsoft.AspNetCore.OpenApi (1)
Extensions\ApiDescriptionExtensions.cs (1)
39"PATCH" => HttpMethod.Patch,
Microsoft.Extensions.Http.Resilience (1)
Polly\HttpRetryStrategyOptionsExtensions.cs (1)
55HttpMethod.Connect, HttpMethod.Patch);
Microsoft.NET.Build.Containers (1)
Registry\DefaultBlobUploadOperations.cs (1)
97HttpRequestMessage patchMessage = new(HttpMethod.Patch, finalUri)
System.Net.Http (2)
System\Net\Http\HttpClient.cs (1)
432HttpRequestMessage request = CreateRequestMessage(HttpMethod.Patch, requestUri);
System\Net\Http\HttpMethod.cs (1)
111_ => Patch,