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