ProcessCommandResultContext
Classsealednet10.0
Context passed to callback to configure
ExecuteCommandResult when using ResourceBuilderExtensions.WithProcessCommand . namespace Aspire.Hosting.ApplicationModel;
public sealed class ProcessCommandResultContext{ // ...}12 members
Constructors1
Section titled ConstructorsProperties10
Section titled PropertiesArgumentsget; init Gets the invocation arguments supplied by the client when the command is executed.
Outputget; initIReadOnlyList<string> Gets the retained stdout and stderr output lines in the order observed by the process runner.
ProcessCommandSpec get; init Gets the process command specification used for the command invocation.
TotalOutputLineCount get; initint Gets the total number of stdout and stderr lines observed by the process runner.
Methods1
Section titled Methodsstring Returns the last
maxLines process output lines formatted for display.