21 references to new
aspire (18)
Commands\AddCommand.cs (1)
41private static readonly OptionWithLegacy<FileInfo?> s_appHostOption = new("--apphost", "--project", AddCommandStrings.ProjectArgumentDescription);
Commands\AppHostLauncher.cs (1)
56internal static readonly OptionWithLegacy<FileInfo?> s_appHostOption = new("--apphost", "--project", SharedCommandStrings.AppHostOptionDescription);
Commands\DescribeCommand.cs (1)
86private static readonly OptionWithLegacy<FileInfo?> s_appHostOption = new("--apphost", "--project", SharedCommandStrings.AppHostOptionDescription);
Commands\ExportCommand.cs (1)
30private static readonly OptionWithLegacy<FileInfo?> s_appHostOption = new("--apphost", "--project", SharedCommandStrings.AppHostOptionDescription);
Commands\IntegrationSearchCommand.cs (1)
23private readonly OptionWithLegacy<FileInfo?> _appHostOption = new("--apphost", "--project", AddCommandStrings.IntegrationSearchAppHostOptionDescription);
Commands\LogsCommand.cs (1)
89private static readonly OptionWithLegacy<FileInfo?> s_appHostOption = new("--apphost", "--project", SharedCommandStrings.AppHostOptionDescription);
Commands\McpCallCommand.cs (1)
37private static readonly OptionWithLegacy<FileInfo?> s_appHostOption = new("--apphost", "--project", SharedCommandStrings.AppHostOptionDescription);
Commands\McpToolsCommand.cs (1)
23private static readonly OptionWithLegacy<FileInfo?> s_appHostOption = new("--apphost", "--project", SharedCommandStrings.AppHostOptionDescription);
Commands\PipelineCommandBase.cs (1)
52protected static readonly OptionWithLegacy<FileInfo?> s_appHostOption = new("--apphost", "--project", PublishCommandStrings.ProjectArgumentDescription);
Commands\ResourceCommand.cs (1)
43private static readonly OptionWithLegacy<FileInfo?> s_appHostOption = new("--apphost", "--project", SharedCommandStrings.AppHostOptionDescription);
Commands\RestoreCommand.cs (1)
36private static readonly OptionWithLegacy<FileInfo?> s_appHostOption = new("--apphost", "--project", SharedCommandStrings.AppHostOptionDescription);
Commands\SecretCommand.cs (1)
13internal static readonly OptionWithLegacy<FileInfo?> s_appHostOption = new("--apphost", "--project", SharedCommandStrings.AppHostOptionDescription);
Commands\StopCommand.cs (1)
40private static readonly OptionWithLegacy<FileInfo?> s_appHostOption = new("--apphost", "--project", StopCommandStrings.ProjectArgumentDescription);
Commands\TelemetryCommandHelpers.cs (1)
53internal static OptionWithLegacy<FileInfo?> CreateAppHostOption() => new("--apphost", "--project", SharedCommandStrings.AppHostOptionDescription);
Commands\TerminalAttachCommand.cs (1)
47new("--apphost", "--project", SharedCommandStrings.AppHostOptionDescription);
Commands\TerminalPsCommand.cs (1)
44new("--apphost", "--project", SharedCommandStrings.AppHostOptionDescription);
Commands\UpdateCommand.cs (1)
44private static readonly OptionWithLegacy<FileInfo?> s_appHostOption = new("--apphost", "--project", UpdateCommandStrings.ProjectArgumentDescription);
Commands\WaitCommand.cs (1)
40private static readonly OptionWithLegacy<FileInfo?> s_appHostOption = new("--apphost", "--project", SharedCommandStrings.AppHostOptionDescription);
Aspire.Cli.Tests (3)
Commands\OptionWithLegacyTests.cs (2)
14var option = new OptionWithLegacy<string>("--new-name", "--old-name", "Test option"); 29var option = new OptionWithLegacy<string>("--new-name", "--old-name", "Test option");
Commands\ResourceCommandHelpParserTests.cs (1)
91var appHostOption = new OptionWithLegacy<FileInfo?>("--apphost", "--project", "AppHost path");