Class PipelineScope
Represents an active pipeline execution scope. Call End(bool, string?, string?) with the final
result before the scope is disposed, then dispose in a finally block.
public sealed class PipelineScope : IDisposable
- Inheritance
-
PipelineScope
- Implements
- Inherited Members
- Extension Methods
Methods
Dispose()
Fires OnPipelineEnd(PipelineEndContext) and restores the outer REslava.Result.Observers.PipelineState. Safe to call multiple times — only fires once.
public void Dispose()
End(bool, string?, string?)
Records the outcome of the pipeline. Call before the finally block disposes the scope.
public void End(bool isSuccess, string? outputValue, string? errorType)