Class PipelineAwareCommandHandlerResult<TResult>
Returned from pipeline aware command handlers to signify if the command execution pipeline should be halted
Inheritance
System.Object
PipelineAwareCommandHandlerResult<TResult>
Namespace: AzureFromTheTrenches.Commanding.Abstractions.Model
Assembly: AzureFromTheTrenches.Commanding.Abstractions.dll
Syntax
public sealed class PipelineAwareCommandHandlerResult<TResult> : object
Type Parameters
Name | Description |
---|---|
TResult |
Constructors
| Improve this Doc View SourcePipelineAwareCommandHandlerResult(Boolean, TResult)
Constructor
Declaration
public PipelineAwareCommandHandlerResult(bool shouldStop, TResult result)
Parameters
Type | Name | Description |
---|---|---|
System.Boolean | shouldStop | Should the execution pipeline be halted |
TResult | result | The result of the handler |
Properties
| Improve this Doc View SourceResult
The result of the handler
Declaration
public TResult Result { get; }
Property Value
Type | Description |
---|---|
TResult |
ShouldStop
Should the execution pipeline be halted
Declaration
public bool ShouldStop { get; }
Property Value
Type | Description |
---|---|
System.Boolean |