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