10 references to BundleLayoutLease
aspire (2)
Bundles\BundleService.cs (2)
109: new BundleLayoutLease(fallbackLayout, lease: null); 136return new BundleLayoutLease(
Aspire.Cli.Tests (8)
Commands\TrayCommandTests.cs (1)
615CreateLayoutLease = () => new BundleLayoutLease(layout, BundleVersionLease.Acquire(root, "cli", "tray"))
Projects\AppHostServerSessionTests.cs (1)
526var layoutLease = new BundleLayoutLease(
Projects\NativeAppHostServerProjectTests.cs (4)
87var lease = new BundleLayoutLease(layout, null); 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)
Utils\CliTestHelper.cs (2)
847return Task.FromResult<BundleLayoutLease?>(new BundleLayoutLease(layout, lease: null)); 907return CreateLayoutLease?.Invoke() ?? (Layout is null ? null : new BundleLayoutLease(Layout, lease: null));