27 instantiations of ProcessCommandOptions
Aspire.Hosting (2)
ApplicationModel\ProcessCommandOptions.cs (1)
17
internal static new ProcessCommandOptions Default =>
new
();
ResourceBuilderExtensions.cs (1)
3687
var commandOptions = new
ProcessCommandOptions
();
Aspire.Hosting.Tests (11)
WithProcessCommandTests.cs (11)
54
new
ProcessCommandOptions
359
new
ProcessCommandOptions
416
new
ProcessCommandOptions
558
new
ProcessCommandOptions
591
new
ProcessCommandOptions
665
new
ProcessCommandOptions
683
new
ProcessCommandOptions
703
new
ProcessCommandOptions
768
new
ProcessCommandOptions
854
new
ProcessCommandOptions
1426
new
ProcessCommandOptions
Stress.AppHost (14)
CommandResources.cs (14)
519
commandOptions: new
ProcessCommandOptions
541
commandOptions: new
ProcessCommandOptions
569
commandOptions: new
ProcessCommandOptions
597
commandOptions: new
ProcessCommandOptions
609
commandOptions: new
ProcessCommandOptions
619
commandOptions: new
ProcessCommandOptions
629
commandOptions: new
ProcessCommandOptions
643
commandOptions: new
ProcessCommandOptions
676
commandOptions: new
ProcessCommandOptions
698
commandOptions: new
ProcessCommandOptions
744
commandOptions: new
ProcessCommandOptions
778
commandOptions: new
ProcessCommandOptions
816
commandOptions: new
ProcessCommandOptions
863
commandOptions: 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
?)"/>.
17
internal 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)
3432
ProcessCommandOptions
? commandOptions = null)
3466
/// of the combined output is returned as command result data. Configure <see cref="
ProcessCommandOptions
.SuccessExitCodes"/>
3467
/// to control which exit codes are treated as success. Configure <see cref="
ProcessCommandOptions
.MaxOutputLineCount"/>
3468
/// to control the number of returned output lines. Configure <see cref="
ProcessCommandOptions
.DisplayImmediately"/> to
3469
/// control whether returned output opens automatically in the dashboard. Configure <see cref="
ProcessCommandOptions
.GetCommandResult"/>
3495
ProcessCommandOptions
? commandOptions = null)
3525
/// of the combined output is returned as command result data. Configure <see cref="
ProcessCommandOptions
.SuccessExitCodes"/>
3526
/// to control which exit codes are treated as success. Configure <see cref="
ProcessCommandOptions
.MaxOutputLineCount"/>
3527
/// to control the number of returned output lines. Configure <see cref="
ProcessCommandOptions
.DisplayImmediately"/> to
3528
/// control whether returned output opens automatically in the dashboard. Configure <see cref="
ProcessCommandOptions
.GetCommandResult"/>
3553
ProcessCommandOptions
? commandOptions = null)
3561
commandOptions ??=
ProcessCommandOptions
.Default;
3654
internal static async Task<ExecuteCommandResult> ExecuteProcessCommandAsync(ExecuteCommandContext context, ProcessCommandSpec processCommandSpec,
ProcessCommandOptions
commandOptions)
3674
private static
ProcessCommandOptions
CreateProcessCommandOptions(ProcessCommandExportOptions exportOptions)
3685
private static
ProcessCommandOptions
CreateProcessCommandOptions(ProcessCommandResultExportOptions? exportOptions)
3687
var
commandOptions = new ProcessCommandOptions();
3791
private static ProcessSpec CreateProcessSpec(ExecuteCommandContext context, ProcessCommandSpec processCommandSpec,
ProcessCommandOptions
commandOptions)
3832
private static async Task<ExecuteCommandResult> GetProcessCommandResultAsync(ExecuteCommandContext context, ProcessCommandSpec processCommandSpec, ProcessResult processResult,
ProcessCommandOptions
commandOptions)
3855
internal static ExecuteCommandResult GetDefaultProcessCommandResult(string executablePath, ProcessResult processResult,
ProcessCommandOptions
commandOptions)
Aspire.Hosting.Tests (4)
WithProcessCommandTests.cs (4)
28
var
options =
ProcessCommandOptions
.Default;
35
var
defaultOptions =
ProcessCommandOptions
.Default;