14 writes to DashboardPath
Aspire.Hosting (2)
Dcp\DcpOptions.cs (2)
178options.DashboardPath = dcpPublisherConfiguration[nameof(options.DashboardPath)]; 182options.DashboardPath = GetMetadataValue(assemblyMetadata, DashboardPathMetadataKey);
Aspire.Hosting.Tests (12)
Dashboard\DashboardResourceTests.cs (3)
38o.DashboardPath = dashboardPath; 241o.DashboardPath = dashboardPath; 537o.DashboardPath = dashboardPath;
Dcp\DcpExecutorTests.cs (8)
65var dcpOptions = new DcpOptions { DashboardPath = "./dashboard", ResourceNameSuffix = "suffix" }; 149var dcpOptions = new DcpOptions { DashboardPath = "./dashboard", ResourceNameSuffix = "suffix" }; 191var dcpOptions = new DcpOptions { DashboardPath = "./dashboard", ResourceNameSuffix = "suffix" }; 548var dcpOptions = new DcpOptions { DashboardPath = "./dashboard", ResourceNameSuffix = "suffix" }; 584var dcpOptions = new DcpOptions { DashboardPath = "./dashboard" }; 688var dcpOptions = new DcpOptions { DashboardPath = "./dashboard" }; 768var dcpOptions = new DcpOptions { DashboardPath = "./dashboard" }; 2127dcpOptions ??= new DcpOptions { DashboardPath = "./dashboard" };
DistributedApplicationBuilderTests.cs (1)
35o.DashboardPath = "dashboard";
6 references to DashboardPath
Aspire.Hosting (4)
Dashboard\DashboardOptions.cs (1)
28options.DashboardPath = dcpOptions.Value.DashboardPath;
Dcp\DcpOptions.cs (3)
133if (string.IsNullOrEmpty(options.DashboardPath)) 175if (!string.IsNullOrEmpty(dcpPublisherConfiguration[nameof(options.DashboardPath)])) 178options.DashboardPath = dcpPublisherConfiguration[nameof(options.DashboardPath)];
Aspire.Hosting.Tests (2)
AppHostSmokeTests.cs (1)
32remoteInvokeOptions.StartInfo.Environment[$"DcpPublisher__DashboardPath"] = dcpOptions.DashboardPath;
Dcp\DcpCliArgsTests.cs (1)
59Assert.Equal("/not/a/valid/path", dcpOptions.DashboardPath);