MM.PipeBlocks.Abstractions
1.1.4
dotnet add package MM.PipeBlocks.Abstractions --version 1.1.4
NuGet\Install-Package MM.PipeBlocks.Abstractions -Version 1.1.4
<PackageReference Include="MM.PipeBlocks.Abstractions" Version="1.1.4" />
<PackageVersion Include="MM.PipeBlocks.Abstractions" Version="1.1.4" />
<PackageReference Include="MM.PipeBlocks.Abstractions" />
paket add MM.PipeBlocks.Abstractions --version 1.1.4
#r "nuget: MM.PipeBlocks.Abstractions, 1.1.4"
#:package MM.PipeBlocks.Abstractions@1.1.4
#addin nuget:?package=MM.PipeBlocks.Abstractions&version=1.1.4
#tool nuget:?package=MM.PipeBlocks.Abstractions&version=1.1.4
MM.PipeBlocks.Abstractions
MM.PipeBlocks.Abstractions provides the core interfaces and types for the MM.PipeBlocks library, enabling modular pipelines built around safe error handling and composition. This package is designed to be lightweight, stable, and implementation-agnostic.
Features
Context: High-performance key-value store that flows through the entire pipeline, preserving correlation Ids, execution state, and custom data across all blocks and type transformationsParameter<V>: A wrapper combining your data value with execution context and failure state, implementing the Either monad pattern to represent success (right rail) or failure (left rail)Either<TL, TR>: Represents a disjoint union, necessary for operating a two-rail system where execution flows alone either the success path or the failure pathIFailureState: Represents the failure state of a parameter, containing the input value that caused the failure and diagnostic informationIBlock<V>: The foundational marker interface for homogeneous blocks where input and output types are the same, serving as the base for all block types in PipeBlocksIBlock<VIn, VOut>: The foundational marker interface for hetereogeneous blocks that transform from one type to another, enabling type-safe data transformation through PipeBlocksISyncBlock<V>: Represents a synchronous block with homogeneous input/output types, executing logic in a single-threaded non-async mannerISyncBlock<VIn, VOut>: Represents a synchronous block that transforms fromVIntoVOut, executing type transformations without async overheadIAsyncBlock<V>: Represents an asynchronous block with homogeneous input/output types, supporting async/await patterns for I/O-bound or long-running operationsIAsyncBlock<VIn, VOut>: Represents an asynchronous block that transforms fromVIntoVOut, enabling async type transformations with proper resource managementIBlockBuilder<V>: Provides factory methods for creating and resolving homogeneous blocks, supporting fluent pipeline construction with dependency injection integrationIBlockBuilder<VIn, VOut>: Provides factory methods for creating and resolving heterogeneous transformation blocks, enabling type-safe block resolution with dependency injectionIBlockResolver<C, V>: Represents a resolver for resolving instances of blocks from a container (typically dependency injection); implementers wire this up with their DI framework of choice to enable automatic block instantion in PipeBlocks
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net8.0 is compatible. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. net9.0 is compatible. net9.0-android was computed. net9.0-browser was computed. net9.0-ios was computed. net9.0-maccatalyst was computed. net9.0-macos was computed. net9.0-tvos was computed. net9.0-windows was computed. net10.0 is compatible. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. |
-
net10.0
- Microsoft.Extensions.Options (>= 10.0.1)
-
net8.0
- Microsoft.Extensions.Options (>= 10.0.1)
-
net9.0
- Microsoft.Extensions.Options (>= 10.0.1)
NuGet packages (3)
Showing the top 3 NuGet packages that depend on MM.PipeBlocks.Abstractions:
| Package | Downloads |
|---|---|
|
MM.PipeBlocks
A composable pipeline library for defining process flows with sequential execution, branching, try/catch handling, and mixed sync/async support. Each process step is encapsulated as a "block," enabling modular and unit-testable workflows. The pipeline follows a two-rail system, breaking early on failure, with results wrapped in an Either monad for clear success/failure state management. |
|
|
MM.PipeBlocks.Extensions
Additional functionality |
|
|
MM.PipeBlocks.Extensions.DependencyInjection
MM.PipeBlocks implementation of the interfaces in Microsoft.Extensions.DependencyInjection.Abstractions, the .NET Framework dependency injection abstraction. |
GitHub repositories
This package is not used by any popular GitHub repositories.