28 instantiations of ProcessCommandOptions
Aspire.Hosting (2)
ApplicationModel\ProcessCommandOptions.cs (1)
14internal static new ProcessCommandOptions Default => new();
ResourceBuilderExtensions.cs (1)
3695var commandOptions = new ProcessCommandOptions();
Aspire.Hosting.Tests (12)
WithProcessCommandTests.cs (12)
54new ProcessCommandOptions 362new ProcessCommandOptions 419new ProcessCommandOptions 561new ProcessCommandOptions 594new ProcessCommandOptions 668new ProcessCommandOptions 686new ProcessCommandOptions 706new ProcessCommandOptions 771new ProcessCommandOptions 857new ProcessCommandOptions 1429new ProcessCommandOptions 1500var options = new ProcessCommandOptions
Stress.AppHost (14)
CommandResources.cs (14)
542commandOptions: new ProcessCommandOptions 564commandOptions: new ProcessCommandOptions 592commandOptions: new ProcessCommandOptions 620commandOptions: new ProcessCommandOptions 632commandOptions: new ProcessCommandOptions 642commandOptions: new ProcessCommandOptions 652commandOptions: new ProcessCommandOptions 666commandOptions: new ProcessCommandOptions 699commandOptions: new ProcessCommandOptions 721commandOptions: new ProcessCommandOptions 767commandOptions: new ProcessCommandOptions 801commandOptions: new ProcessCommandOptions 839commandOptions: new ProcessCommandOptions 886commandOptions: new ProcessCommandOptions
27 references to ProcessCommandOptions
Aspire.Hosting (22)
ApplicationModel\ProcessCommandOptions.cs (2)
7/// Optional configuration for resource process commands added with <see cref="ResourceBuilderExtensions.WithProcessCommand{TResource}(IResourceBuilder{TResource}, string, string, Func{ExecuteCommandContext, ValueTask{ProcessCommandSpec}}, ProcessCommandOptions?)"/>. 14internal static new ProcessCommandOptions Default => new();
ApplicationModel\ProcessCommandResultContext.cs (1)
11/// <see cref="ResourceBuilderExtensions.WithProcessCommand{TResource}(IResourceBuilder{TResource}, string, string, Func{ExecuteCommandContext, ValueTask{ProcessCommandSpec}}, ProcessCommandOptions?)"/>.
ResourceBuilderExtensions.cs (19)
3443ProcessCommandOptions? commandOptions = null) 3477/// of the combined output is returned as command result data. Configure <see cref="ProcessCommandOptions.SuccessExitCodes"/> 3478/// to control which exit codes are treated as success. Configure <see cref="ProcessCommandOptions.MaxOutputLineCount"/> 3479/// to control the number of returned output lines. Configure <see cref="ProcessCommandOptions.DisplayImmediately"/> to 3480/// control whether returned output opens automatically in the dashboard. Configure <see cref="ProcessCommandOptions.GetCommandResult"/> 3505ProcessCommandOptions? commandOptions = null) 3535/// of the combined output is returned as command result data. Configure <see cref="ProcessCommandOptions.SuccessExitCodes"/> 3536/// to control which exit codes are treated as success. Configure <see cref="ProcessCommandOptions.MaxOutputLineCount"/> 3537/// to control the number of returned output lines. Configure <see cref="ProcessCommandOptions.DisplayImmediately"/> to 3538/// control whether returned output opens automatically in the dashboard. Configure <see cref="ProcessCommandOptions.GetCommandResult"/> 3562ProcessCommandOptions? commandOptions = null) 3570commandOptions ??= ProcessCommandOptions.Default; 3662internal static async Task<ExecuteCommandResult> ExecuteProcessCommandAsync(ExecuteCommandContext context, ProcessCommandSpec processCommandSpec, ProcessCommandOptions commandOptions) 3682private static ProcessCommandOptions CreateProcessCommandOptions(ProcessCommandExportOptions exportOptions) 3693private static ProcessCommandOptions CreateProcessCommandOptions(ProcessCommandResultExportOptions? exportOptions) 3695var commandOptions = new ProcessCommandOptions(); 3799private static ProcessSpec CreateProcessSpec(ExecuteCommandContext context, ProcessCommandSpec processCommandSpec, ProcessCommandOptions commandOptions) 3840private static async Task<ExecuteCommandResult> GetProcessCommandResultAsync(ExecuteCommandContext context, ProcessCommandSpec processCommandSpec, ProcessResult processResult, ProcessCommandOptions commandOptions) 3863internal static ExecuteCommandResult GetDefaultProcessCommandResult(string executablePath, ProcessResult processResult, ProcessCommandOptions commandOptions)
Aspire.Hosting.Tests (5)
WithProcessCommandTests.cs (5)
28var options = ProcessCommandOptions.Default; 35var defaultOptions = ProcessCommandOptions.Default; 1500var options = new ProcessCommandOptions