Class PipelineAwareCommandHandlerResult<TResult>
Returned from pipeline aware command handlers to signify if the command execution pipeline should be halted
Inheritance
System.Object
PipelineAwareCommandHandlerResult<TResult>
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: AzureFromTheTrenches.Commanding.Abstractions.Model
Assembly: AzureFromTheTrenches.Commanding.Abstractions.dll
Syntax
public sealed class PipelineAwareCommandHandlerResult<TResult>
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 |