13 references to new
aspire (1)
Projects\NativeAppHostServerProject.cs (1)
65return new(appPath, path, processes, logger) { LayoutLease = lease };
Aspire.Cli.Tests (12)
Projects\GuestAppHostProjectTests.cs (2)
80new NativeAppHostServerProject(path, executable, new TestProcessExecutionFactory(), NullLogger.Instance)) 2214new NativeAppHostServerProject(path, executable, new TestProcessExecutionFactory(), NullLogger.Instance))
Projects\NativeAppHostServerProjectTests.cs (10)
118Assert.Throws<ArgumentException>(() => new NativeAppHostServerProject(workspace.Path, 128using var project = new NativeAppHostServerProject(workspace.Path, executable, new TestProcessExecutionFactory(), NullLogger.Instance); 151using var project = new NativeAppHostServerProject(workspace.Path, executable, new TestProcessExecutionFactory(), NullLogger.Instance); 190using (var project = new NativeAppHostServerProject(workspace.Path, executable, factory, NullLogger.Instance)) 239using var project = new NativeAppHostServerProject(workspace.Path, executable, processes, NullLogger.Instance); 272using var project = new NativeAppHostServerProject(workspace.Path, executable, factory, NullLogger.Instance) 341using var project = new NativeAppHostServerProject(workspace.Path, executable, factory, NullLogger.Instance) 383using var project = new NativeAppHostServerProject(workspace.Path, executable, processes, logger); 448using var project = new NativeAppHostServerProject(workspace.Path, executable, 493using var project = new NativeAppHostServerProject(workspace.Path, executable, processes, logger)