28 instantiations of ProcessCommandOptions
Aspire.Hosting (2)
ApplicationModel\ProcessCommandOptions.cs (1)
14
internal static new ProcessCommandOptions Default =>
new
();
ResourceBuilderExtensions.cs (1)
3695
var commandOptions = new
ProcessCommandOptions
();
Aspire.Hosting.Tests (12)
WithProcessCommandTests.cs (12)
54
new
ProcessCommandOptions
362
new
ProcessCommandOptions
419
new
ProcessCommandOptions
561
new
ProcessCommandOptions
594
new
ProcessCommandOptions
668
new
ProcessCommandOptions
686
new
ProcessCommandOptions
706
new
ProcessCommandOptions
771
new
ProcessCommandOptions
857
new
ProcessCommandOptions
1429
new
ProcessCommandOptions
1500
var options = new
ProcessCommandOptions
Stress.AppHost (14)
CommandResources.cs (14)
542
commandOptions: new
ProcessCommandOptions
564
commandOptions: new
ProcessCommandOptions
592
commandOptions: new
ProcessCommandOptions
620
commandOptions: new
ProcessCommandOptions
632
commandOptions: new
ProcessCommandOptions
642
commandOptions: new
ProcessCommandOptions
652
commandOptions: new
ProcessCommandOptions
666
commandOptions: new
ProcessCommandOptions
699
commandOptions: new
ProcessCommandOptions
721
commandOptions: new
ProcessCommandOptions
767
commandOptions: new
ProcessCommandOptions
801
commandOptions: new
ProcessCommandOptions
839
commandOptions: new
ProcessCommandOptions
886
commandOptions: 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
?)"/>.
14
internal 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)
3443
ProcessCommandOptions
? 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"/>
3505
ProcessCommandOptions
? 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"/>
3562
ProcessCommandOptions
? commandOptions = null)
3570
commandOptions ??=
ProcessCommandOptions
.Default;
3662
internal static async Task<ExecuteCommandResult> ExecuteProcessCommandAsync(ExecuteCommandContext context, ProcessCommandSpec processCommandSpec,
ProcessCommandOptions
commandOptions)
3682
private static
ProcessCommandOptions
CreateProcessCommandOptions(ProcessCommandExportOptions exportOptions)
3693
private static
ProcessCommandOptions
CreateProcessCommandOptions(ProcessCommandResultExportOptions? exportOptions)
3695
var
commandOptions = new ProcessCommandOptions();
3799
private static ProcessSpec CreateProcessSpec(ExecuteCommandContext context, ProcessCommandSpec processCommandSpec,
ProcessCommandOptions
commandOptions)
3840
private static async Task<ExecuteCommandResult> GetProcessCommandResultAsync(ExecuteCommandContext context, ProcessCommandSpec processCommandSpec, ProcessResult processResult,
ProcessCommandOptions
commandOptions)
3863
internal static ExecuteCommandResult GetDefaultProcessCommandResult(string executablePath, ProcessResult processResult,
ProcessCommandOptions
commandOptions)
Aspire.Hosting.Tests (5)
WithProcessCommandTests.cs (5)
28
var
options =
ProcessCommandOptions
.Default;
35
var
defaultOptions =
ProcessCommandOptions
.Default;
1500
var
options = new ProcessCommandOptions