FluxFlow.Components.Assertions.Composition
1.3.0
See the version list below for details.
dotnet add package FluxFlow.Components.Assertions.Composition --version 1.3.0
NuGet\Install-Package FluxFlow.Components.Assertions.Composition -Version 1.3.0
<PackageReference Include="FluxFlow.Components.Assertions.Composition" Version="1.3.0" />
<PackageVersion Include="FluxFlow.Components.Assertions.Composition" Version="1.3.0" />
<PackageReference Include="FluxFlow.Components.Assertions.Composition" />
paket add FluxFlow.Components.Assertions.Composition --version 1.3.0
#r "nuget: FluxFlow.Components.Assertions.Composition, 1.3.0"
#:package FluxFlow.Components.Assertions.Composition@1.3.0
#addin nuget:?package=FluxFlow.Components.Assertions.Composition&version=1.3.0
#tool nuget:?package=FluxFlow.Components.Assertions.Composition&version=1.3.0
FluxFlow.Components.Assertions.Composition
Optional FluxFlow.Composition registration helpers for the standalone
assertion node from FluxFlow.Components.Assertions.
This package does not choose an expression language, scan assemblies, or resolve
CLR types from strings. Hosts register closed assertion node types explicitly
and provide keyed IFlowExpressionEngine services.
Registration
services.AddKeyedSingleton<IFlowExpressionEngine>("default", expressionEngine);
services
.AddFluxFlowComposition(configuration)
.RegisterNodes(registry =>
registry.RegisterAssertion<OrderMessage>());
Use custom node type names when a host needs more than one input shape:
registry
.RegisterAssertion<OrderMessage>("flow.assert.order")
.RegisterAssertion<HttpResponseOutput>("flow.assert.http-response");
Node Types
| Type | Node | Required resource | Ports |
|---|---|---|---|
flow.assert |
FlowAssertionComponent<TInput> |
engine |
Input, Output, Passed, Failed |
Output emits FlowAssertionResult. Passed and Failed emit the original
TInput message when the assertion options allow routed inputs.
contextFactory is an optional keyed IFlowMapContextFactory<TInput> resource
for custom expression variables. clock is an optional keyed TimeProvider
resource for deterministic result and diagnostic timestamps.
Configuration
{
"FluxFlow": {
"Composition": {
"workflows": {
"main": {
"nodes": {
"score-check": {
"type": "flow.assert",
"resources": {
"engine": "default"
},
"configuration": {
"expression": "input.Score >= 10",
"description": "score-check",
"failureMessage": "Score too low.",
"inputType": "app.order",
"boundedCapacity": 128
}
}
},
"links": []
}
}
}
}
}
AssertionOptions.InputType remains diagnostic metadata. The actual composition
port type comes from the closed generic registration selected by the host.
Design Metadata
AssertionsComponentDesignMetadataProvider exposes neutral Designer metadata for
the flow.assert composition node. Hosts can add it to a
ComponentDesignMetadataCatalog to populate palettes, editors, validation
views, or generated documentation.
The provider describes editable options, option grouping hints, host-owned
resource picker hints, and ports. engine is required; contextFactory and
clock are optional. Resource metadata is descriptive only, so hosts still own
keyed service registration, selection, lifetime, and disposal.
| 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 was computed. 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
- FluxFlow.Components.Assertions (>= 3.0.1)
- FluxFlow.Components.Designer (>= 2.16.0)
- FluxFlow.Composition (>= 1.0.9)
- FluxFlow.Composition.Hosting (>= 1.0.5)
- FluxFlow.Mapping (>= 1.0.2)
-
net8.0
- FluxFlow.Components.Assertions (>= 3.0.1)
- FluxFlow.Components.Designer (>= 2.16.0)
- FluxFlow.Composition (>= 1.0.9)
- FluxFlow.Composition.Hosting (>= 1.0.5)
- FluxFlow.Mapping (>= 1.0.2)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 8.0.0-rc.1 | 78 | 9/5/2026 |
| 7.0.0-rc.1 | 91 | 8/9/2026 |
| 6.0.0 | 137 | 8/3/2026 |
| 1.4.0 | 134 | 7/3/2026 |
| 1.3.0 | 128 | 7/2/2026 |
Adds richer Designer option and resource hints for the assertion metadata provider.