27 instantiations of ProcessCommandOptions
Aspire.Hosting (2)
ApplicationModel\ProcessCommandOptions.cs (1)
17
internal static new ProcessCommandOptions Default =>
new
();
ResourceBuilderExtensions.cs (1)
3316
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)
3061
ProcessCommandOptions
? 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"/>
3124
ProcessCommandOptions
? 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"/>
3182
ProcessCommandOptions
? commandOptions = null)
3190
commandOptions ??=
ProcessCommandOptions
.Default;
3283
internal static async Task<ExecuteCommandResult> ExecuteProcessCommandAsync(ExecuteCommandContext context, ProcessCommandSpec processCommandSpec,
ProcessCommandOptions
commandOptions)
3303
private static
ProcessCommandOptions
CreateProcessCommandOptions(ProcessCommandExportOptions exportOptions)
3314
private static
ProcessCommandOptions
CreateProcessCommandOptions(ProcessCommandResultExportOptions? exportOptions)
3316
var
commandOptions = new ProcessCommandOptions();
3420
private static ProcessSpec CreateProcessSpec(ExecuteCommandContext context, ProcessCommandSpec processCommandSpec,
ProcessCommandOptions
commandOptions)
3461
private static async Task<ExecuteCommandResult> GetProcessCommandResultAsync(ExecuteCommandContext context, ProcessCommandSpec processCommandSpec, ProcessResult processResult,
ProcessCommandOptions
commandOptions)
3484
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;