6 implementations of StateFilePath
Aspire.Hosting (2)
Publishing\Internal\FileDeploymentStateManager.cs (1)
30public string? StateFilePath => GetDeploymentStatePath();
Publishing\Internal\UserSecretsDeploymentStateManager.cs (1)
25public string? StateFilePath => GetUserSecretsPath();
Aspire.Hosting.Azure.Tests (2)
AzureDeployerTests.cs (1)
888public string? StateFilePath => null;
ProvisioningTestHelpers.cs (1)
578public string? StateFilePath => null;
Aspire.Hosting.Tests (2)
Orchestrator\ApplicationOrchestratorTests.cs (1)
487public string? StateFilePath => null;
Orchestrator\ParameterProcessorTests.cs (1)
789public string? StateFilePath => null;
10 references to StateFilePath
Aspire.Hosting (7)
Publishing\Publisher.cs (7)
34if (deploymentStateManager?.StateFilePath is not null && File.Exists(deploymentStateManager.StateFilePath)) 62logger.LogInformation("Deleting deployment state file at {Path} due to --clear-cache flag", deploymentStateManager.StateFilePath); 63File.Delete(deploymentStateManager.StateFilePath); 114if (deploymentStateManager?.StateFilePath is not null && File.Exists(deploymentStateManager.StateFilePath)) 122$"Deployment state will be loaded from: {deploymentStateManager.StateFilePath}",
Aspire.Hosting.Azure.Tests (3)
AzureDeployerTests.cs (3)
948var deploymentStatePath = deploymentStateManager.StateFilePath; 1038var deploymentStatePath = deploymentStateManager.StateFilePath; 1070var stagingStatePath = deploymentStateManager.StateFilePath;