13 writes to DashboardPath
Aspire.Hosting (2)
Dcp\DcpOptions.cs (2)
160
options.
DashboardPath
= dcpPublisherConfiguration[nameof(options.DashboardPath)];
164
options.
DashboardPath
= GetMetadataValue(assemblyMetadata, DashboardPathMetadataKey);
Aspire.Hosting.Tests (11)
Dashboard\DashboardResourceTests.cs (3)
38
o.
DashboardPath
= dashboardPath;
236
o.
DashboardPath
= dashboardPath;
532
o.
DashboardPath
= dashboardPath;
Dcp\DcpExecutorTests.cs (7)
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" };
2026
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)
115
if (string.IsNullOrEmpty(options.
DashboardPath
))
157
if (!string.IsNullOrEmpty(dcpPublisherConfiguration[nameof(options.
DashboardPath
)]))
160
options.DashboardPath = dcpPublisherConfiguration[nameof(options.
DashboardPath
)];
Aspire.Hosting.Tests (2)
AppHostSmokeTests.cs (1)
34
remoteInvokeOptions.StartInfo.Environment[$"DcpPublisher__DashboardPath"] = dcpOptions.
DashboardPath
;
Dcp\DcpCliArgsTests.cs (1)
59
Assert.Equal("/not/a/valid/path", dcpOptions.
DashboardPath
);