4 writes to LayoutLease
aspire (1)
Projects\NativeAppHostServerProject.cs (1)
67return new(appPath, path, processes, temporaryStorage, logger) { LayoutLease = lease };
Aspire.Cli.Tests (3)
Projects\NativeAppHostServerProjectTests.cs (3)
274LayoutLease = new BundleLayoutLease(new LayoutConfiguration { LayoutPath = workspace.Path }, null) 343LayoutLease = useLayout ? new BundleLayoutLease(layout, null) : null 495LayoutLease = new BundleLayoutLease(new LayoutConfiguration { LayoutPath = workspace.Path }, null)
7 references to LayoutLease
aspire (6)
Projects\NativeAppHostServerProject.cs (6)
117var managed = LayoutLease?.Layout.GetManagedPath(); 143LayoutLease!.AddEnvironment(start); 210LayoutLease?.AddEnvironment(startInfo); 234if (!suppressRuntimeComponents && LayoutLease?.Layout.GetDcpPath() is { } dcpDirectory) 238if (!suppressRuntimeComponents && LayoutLease?.Layout.GetDashboardPath() is { } dashboardPath) 298LayoutLease?.Dispose();
Aspire.Cli.Tests (1)
Projects\NativeAppHostServerProjectTests.cs (1)
108Assert.Same(lease, project.LayoutLease);