1 instantiation of DeploymentResponse
Microsoft.NET.Sdk.Publish.Tasks (1)
Tasks\OneDeploy\DeploymentResponse.cs (1)
14internal static readonly DeploymentResponse s_unknownResponse = new()
15 references to DeploymentResponse
Microsoft.NET.Sdk.Publish.Tasks (15)
Tasks\OneDeploy\DeploymentResponse.cs (5)
14internal static readonly DeploymentResponse s_unknownResponse = new() 56/// Extension methods for <see cref="DeploymentResponse"/>. 60internal static bool IsSuccessfulResponse(this DeploymentResponse response) 67internal static bool IsFailedResponse(this DeploymentResponse response) 74public static string? GetLogUrlWithId(this DeploymentResponse deploymentResponse)
Tasks\OneDeploy\OneDeploy.cs (2)
84IDeploymentStatusService<DeploymentResponse> deploymentStatusService, 137var deploymentResponse = await deploymentStatusService.PollDeploymentAsync(httpClient, deploymentUrl, username, password, userAgent, cancellationToken);
Tasks\OneDeploy\OneDeployStatusService.cs (8)
9internal class OneDeployStatusService(ITaskLogger? taskLogger = null) : IDeploymentStatusService<DeploymentResponse> 19public async Task<DeploymentResponse?> PollDeploymentAsync( 31return DeploymentResponse.s_unknownResponse; 37return DeploymentResponse.s_unknownResponse; 44DeploymentResponse? deploymentResponse = null; 53deploymentResponse = await httpClient.RetryGetRequestAsync<DeploymentResponse>( 57deploymentResponse ??= DeploymentResponse.s_unknownResponse; 84return deploymentResponse ?? DeploymentResponse.s_unknownResponse;