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