27 instantiations of ProcessCommandOptions
Aspire.Hosting (2)
ApplicationModel\ProcessCommandOptions.cs (1)
17internal static new ProcessCommandOptions Default => new();
ResourceBuilderExtensions.cs (1)
3316var commandOptions = new ProcessCommandOptions();
Aspire.Hosting.Tests (11)
WithProcessCommandTests.cs (11)
54new ProcessCommandOptions 359new ProcessCommandOptions 416new ProcessCommandOptions 558new ProcessCommandOptions 591new ProcessCommandOptions 665new ProcessCommandOptions 683new ProcessCommandOptions 703new ProcessCommandOptions 768new ProcessCommandOptions 854new ProcessCommandOptions 1426new ProcessCommandOptions
Stress.AppHost (14)
CommandResources.cs (14)
507commandOptions: new ProcessCommandOptions 529commandOptions: new ProcessCommandOptions 557commandOptions: new ProcessCommandOptions 585commandOptions: new ProcessCommandOptions 597commandOptions: new ProcessCommandOptions 607commandOptions: new ProcessCommandOptions 617commandOptions: new ProcessCommandOptions 631commandOptions: new ProcessCommandOptions 664commandOptions: new ProcessCommandOptions 686commandOptions: new ProcessCommandOptions 732commandOptions: new ProcessCommandOptions 766commandOptions: new ProcessCommandOptions 804commandOptions: new ProcessCommandOptions 851commandOptions: new ProcessCommandOptions
26 references to ProcessCommandOptions
Aspire.Hosting (22)
ApplicationModel\ProcessCommandOptions.cs (2)
9/// Optional configuration for resource process commands added with <see cref="ResourceBuilderExtensions.WithProcessCommand{TResource}(IResourceBuilder{TResource}, string, string, Func{ExecuteCommandContext, ValueTask{ProcessCommandSpec}}, ProcessCommandOptions?)"/>. 17internal static new ProcessCommandOptions Default => new();
ApplicationModel\ProcessCommandResultContext.cs (1)
12/// <see cref="ResourceBuilderExtensions.WithProcessCommand{TResource}(IResourceBuilder{TResource}, string, string, Func{ExecuteCommandContext, ValueTask{ProcessCommandSpec}}, ProcessCommandOptions?)"/>.
ResourceBuilderExtensions.cs (19)
3061ProcessCommandOptions? commandOptions = null) 3095/// of the combined output is returned as command result data. Configure <see cref="ProcessCommandOptions.SuccessExitCodes"/> 3096/// to control which exit codes are treated as success. Configure <see cref="ProcessCommandOptions.MaxOutputLineCount"/> 3097/// to control the number of returned output lines. Configure <see cref="ProcessCommandOptions.DisplayImmediately"/> to 3098/// control whether returned output opens automatically in the dashboard. Configure <see cref="ProcessCommandOptions.GetCommandResult"/> 3124ProcessCommandOptions? commandOptions = null) 3154/// of the combined output is returned as command result data. Configure <see cref="ProcessCommandOptions.SuccessExitCodes"/> 3155/// to control which exit codes are treated as success. Configure <see cref="ProcessCommandOptions.MaxOutputLineCount"/> 3156/// to control the number of returned output lines. Configure <see cref="ProcessCommandOptions.DisplayImmediately"/> to 3157/// control whether returned output opens automatically in the dashboard. Configure <see cref="ProcessCommandOptions.GetCommandResult"/> 3182ProcessCommandOptions? commandOptions = null) 3190commandOptions ??= ProcessCommandOptions.Default; 3283internal static async Task<ExecuteCommandResult> ExecuteProcessCommandAsync(ExecuteCommandContext context, ProcessCommandSpec processCommandSpec, ProcessCommandOptions commandOptions) 3303private static ProcessCommandOptions CreateProcessCommandOptions(ProcessCommandExportOptions exportOptions) 3314private static ProcessCommandOptions CreateProcessCommandOptions(ProcessCommandResultExportOptions? exportOptions) 3316var commandOptions = new ProcessCommandOptions(); 3420private static ProcessSpec CreateProcessSpec(ExecuteCommandContext context, ProcessCommandSpec processCommandSpec, ProcessCommandOptions commandOptions) 3461private static async Task<ExecuteCommandResult> GetProcessCommandResultAsync(ExecuteCommandContext context, ProcessCommandSpec processCommandSpec, ProcessResult processResult, ProcessCommandOptions commandOptions) 3484internal static ExecuteCommandResult GetDefaultProcessCommandResult(string executablePath, ProcessResult processResult, ProcessCommandOptions commandOptions)
Aspire.Hosting.Tests (4)
WithProcessCommandTests.cs (4)
28var options = ProcessCommandOptions.Default; 35var defaultOptions = ProcessCommandOptions.Default;