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