4 writes to LayoutLease
aspire (1)
Projects\NativeAppHostServerProject.cs (1)
65
return new(appPath, path, processes, logger) {
LayoutLease
= lease };
Aspire.Cli.Tests (3)
Projects\NativeAppHostServerProjectTests.cs (3)
265
LayoutLease
= new BundleLayoutLease(new LayoutConfiguration { LayoutPath = workspace.Path }, null)
334
LayoutLease
= useLayout ? new BundleLayoutLease(layout, null) : null
486
LayoutLease
= new BundleLayoutLease(new LayoutConfiguration { LayoutPath = workspace.Path }, null)
7 references to LayoutLease
aspire (6)
Projects\NativeAppHostServerProject.cs (6)
115
var managed =
LayoutLease
?.Layout.GetManagedPath();
141
LayoutLease
!.AddEnvironment(start);
208
LayoutLease
?.AddEnvironment(startInfo);
232
if (!suppressRuntimeComponents &&
LayoutLease
?.Layout.GetDcpPath() is { } dcpDirectory)
236
if (!suppressRuntimeComponents &&
LayoutLease
?.Layout.GetDashboardPath() is { } dashboardPath)
296
LayoutLease
?.Dispose();
Aspire.Cli.Tests (1)
Projects\NativeAppHostServerProjectTests.cs (1)
99
Assert.Same(lease, project.
LayoutLease
);