MeshWeaver.Arithmetics 2.0.3

dotnet add package MeshWeaver.Arithmetics --version 2.0.3                
NuGet\Install-Package MeshWeaver.Arithmetics -Version 2.0.3                
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="MeshWeaver.Arithmetics" Version="2.0.3" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add MeshWeaver.Arithmetics --version 2.0.3                
#r "nuget: MeshWeaver.Arithmetics, 2.0.3"                
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install MeshWeaver.Arithmetics as a Cake Addin
#addin nuget:?package=MeshWeaver.Arithmetics&version=2.0.3

// Install MeshWeaver.Arithmetics as a Cake Tool
#tool nuget:?package=MeshWeaver.Arithmetics&version=2.0.3                

MeshWeaver.Arithmetics

MeshWeaver.Arithmetics implements the aggregation engine that processes data structures decorated with attributes from MeshWeaver.Arithmetics.Abstractions. It provides runtime aggregation, multiplication, and data transformation capabilities.

Overview

The library provides:

  • Runtime analysis of attribute-decorated classes
  • Aggregation pipeline execution
  • Multiplication processing
  • Extensible aggregation strategies

Usage

Basic Aggregation

// Define data structure with attributes
public class SalesData
{
    [AggregateBy]
    public string Region { get; set; }
    
    [AggregateOver]
    public string Product { get; set; }
    
    public decimal Amount { get; set; }
}

// Perform aggregation
var aggregator = new Aggregator();
var salesData = new List<SalesData> 
{
    new() { Region = "North", Product = "A", Amount = 100 },
    new() { Region = "North", Product = "A", Amount = 200 },
    new() { Region = "South", Product = "B", Amount = 150 }
};

var results = aggregator.Aggregate(salesData);
// Results grouped by Region and Product with summed Amount

Key Concepts

  • Arithmetics architecture
  • Integration patterns
  • Extension points
  • Configuration options

Integration with MeshWeaver

  • Works with other MeshWeaver components
  • Extends core functionality
  • Adds specialized capabilities

See Also

Refer to the main MeshWeaver documentation for more information about the overall project.

Product Compatible and additional computed target framework versions.
.NET 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. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (1)

Showing the top 1 NuGet packages that depend on MeshWeaver.Arithmetics:

Package Downloads
MeshWeaver.DataCubes.Abstractions

Package Description

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
2.0.3 481 3/24/2025
2.0.2 459 3/24/2025
2.0.1 110 3/21/2025
2.0.0 149 3/20/2025
2.0.0-preview3 109 2/28/2025
2.0.0-Preview2 121 2/10/2025
2.0.0-preview1 139 1/6/2025
1.0.1 146 10/8/2024
1.0.0 138 10/8/2024