16 writes to DashboardPath
Aspire.Hosting (3)
Dcp\DcpOptions.cs (3)
180options.DashboardPath = configDashboardPath; 185options.DashboardPath = dcpPublisherConfiguration[nameof(options.DashboardPath)]; 190options.DashboardPath = GetMetadataValue(assemblyMetadata, DashboardPathMetadataKey);
Aspire.Hosting.Tests (13)
Dashboard\DashboardResourceTests.cs (3)
39o.DashboardPath = dashboardPath; 246o.DashboardPath = dashboardPath; 542o.DashboardPath = dashboardPath;
Dcp\DcpExecutorTests.cs (9)
66var dcpOptions = new DcpOptions { DashboardPath = "./dashboard", ResourceNameSuffix = "suffix" }; 150var dcpOptions = new DcpOptions { DashboardPath = "./dashboard", ResourceNameSuffix = "suffix" }; 185var dcpOptions = new DcpOptions { DashboardPath = "./dashboard", ResourceNameSuffix = "suffix" }; 228var dcpOptions = new DcpOptions { DashboardPath = "./dashboard", ResourceNameSuffix = "suffix" }; 585var dcpOptions = new DcpOptions { DashboardPath = "./dashboard", ResourceNameSuffix = "suffix" }; 621var dcpOptions = new DcpOptions { DashboardPath = "./dashboard" }; 725var dcpOptions = new DcpOptions { DashboardPath = "./dashboard" }; 805var dcpOptions = new DcpOptions { DashboardPath = "./dashboard" }; 2325dcpOptions ??= new DcpOptions { DashboardPath = "./dashboard" };
DistributedApplicationBuilderTests.cs (1)
36o.DashboardPath = "dashboard";
6 references to DashboardPath
Aspire.Hosting (4)
Dashboard\DashboardOptions.cs (1)
29options.DashboardPath = dcpOptions.Value.DashboardPath;
Dcp\DcpOptions.cs (3)
126if (string.IsNullOrEmpty(options.DashboardPath)) 182else if (!string.IsNullOrEmpty(dcpPublisherConfiguration[nameof(options.DashboardPath)])) 185options.DashboardPath = dcpPublisherConfiguration[nameof(options.DashboardPath)];
Aspire.Hosting.Tests (2)
AppHostSmokeTests.cs (1)
33remoteInvokeOptions.StartInfo.Environment[$"DcpPublisher__DashboardPath"] = dcpOptions.DashboardPath;
Dcp\DcpCliArgsTests.cs (1)
60Assert.Equal("/not/a/valid/path", dcpOptions.DashboardPath);