Class CommandRunnerResult
The command runner result.
public class CommandRunnerResult : IAsyncDisposable
- Inheritance
-
CommandRunnerResult
- Implements
- Inherited Members
Properties
IsDisposed
Determines whether the result is disposed.
public bool IsDisposed { get; protected set; }
Property Value
IsProcessed
Determines whether the result is processed.
public bool IsProcessed { get; protected set; }
Property Value
NoProcessing
Creates a default runner result that does not perform any additional processing.
public static CommandRunnerResult NoProcessing { get; }
Property Value
Methods
DisposeAsync()
Disposes the managed resources.
public virtual ValueTask DisposeAsync()
Returns
Remarks
Derived implementation should call base class implementation to mark the result as disposed, see IsDisposed.
ProcessAsync(CommandRunnerContext, ILogger?)
Processes the runner result asynchronously.
public virtual Task ProcessAsync(CommandRunnerContext context, ILogger? logger = null)
Parameters
context
CommandRunnerContextThe runner context.
logger
ILoggerThe logger.
Returns
Remarks
Derived implementation should call base class implementation to mark the result as processed, see IsProcessed.