Pipette.Json 9.3.0

dotnet add package Pipette.Json --version 9.3.0                
NuGet\Install-Package Pipette.Json -Version 9.3.0                
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="Pipette.Json" Version="9.3.0" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Pipette.Json --version 9.3.0                
#r "nuget: Pipette.Json, 9.3.0"                
#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 Pipette.Json as a Cake Addin
#addin nuget:?package=Pipette.Json&version=9.3.0

// Install Pipette.Json as a Cake Tool
#tool nuget:?package=Pipette.Json&version=9.3.0                

GraduatedCylinder

  • A typed implementation of measurable dimensions for .NET (i.e. Length, Speed, Acceleration, Jerk).

  • There are 2 versions of this library:

    • GraduatedCylinder uses 64bit doubles to store the values of the dimension, and supports changing units 'in place' by setting the units property to the value of the wanted units, as well as using the 'In(units)' method to get a new instance of the dimension.
    • Pipette uses 32bit floats to store the values of the dimension, and supports changing units 'in place' by setting the units property to the value of the wanted units, as well as using the 'In(units)' method to get a new instance of the dimension.
  • Many operators are implemented to allow derivative computations without you explicitly worrying about units, it is taken care of for you (i.e. Jerk = Acceleration / Time).

  • Starting at version 6.0, this library uses Roslyn to generate many features from built in metadata, so no runtime reflection is required anymore.

Build

You can build GraduatedCylinder using Visual Studio 2022. We use Nuke as the build engine, and deliver packages on NuGet.org

Contribute

Contributions to GraduatedCylinder are gratefully received but we do ask you to follow certain conditions:

  • Fork the main eddiegarmon/GraduatedCylinder
  • Use a branch when developing in your own forked repository, DO NOT work against master
  • Write one or more unit tests to validate new logic, ideally using TDD
  • Ensure all projects build and all tests pass
  • Make a pull request from your-fork/your-branch to GraduatedCylinder/master
  • Provide a description of the motivation behind the changes

Versioning

The main contributors to the project will manage releases and SemVer-compliant version numbers.

A Simple Sample

    Mass vehicleMass = new Mass(2500, MassUnit.Pounds);
    Speed startSpeed = new Speed(72, SpeedUnit.MilesPerHour);
    Speed endSpeed = new Speed(0, SpeedUnit.MilesPerHour);
    Length stoppingDistance = new Length(1234, LengthUnit.Feet);
    Acceleration deceleration = MotionCalculator.ComputeConstantAcceleration(startSpeed, endSpeed, stoppingDistance);
    Force stoppingForceRequired = vehicleMass * deceleration;

    Console.WriteLine($"To stop a vehicle of {vehicleMass} moving at {startSpeed} within {stoppingDistance},");
    Console.WriteLine("the force required is:");
    Console.WriteLine($"\t{constantStoppingForce}");
    Console.WriteLine($"\t{constantStoppingForce.ToString(ForceUnit.Newtons, 3)}");
    Console.WriteLine($"\t{constantStoppingForce.ToString(ForceUnit.KilogramForce)}");
    Console.WriteLine($"\t{constantStoppingForce.ToString(ForceUnit.PoundForce, 5)}");
    
    The output is as follows:
    To stop a vehicle of 2,500.00 lbs moving at 72.00 mph within 1,234.00 ft,
    the force required is:
            -1,561.72 N
            -1,561.721 N
            -159.20 kgf
            -351.08893 lbf
Product Compatible and additional computed target framework versions.
.NET net5.0 was computed.  net5.0-windows was computed.  net6.0 is compatible.  net6.0-android was computed.  net6.0-ios was computed.  net6.0-maccatalyst was computed.  net6.0-macos was computed.  net6.0-tvos was computed.  net6.0-windows was computed.  net7.0 is compatible.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  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. 
.NET Core netcoreapp2.0 was computed.  netcoreapp2.1 was computed.  netcoreapp2.2 was computed.  netcoreapp3.0 was computed.  netcoreapp3.1 was computed. 
.NET Standard netstandard2.0 is compatible.  netstandard2.1 was computed. 
.NET Framework net461 was computed.  net462 was computed.  net463 was computed.  net47 was computed.  net471 was computed.  net472 was computed.  net48 was computed.  net481 was computed. 
MonoAndroid monoandroid was computed. 
MonoMac monomac was computed. 
MonoTouch monotouch was computed. 
Tizen tizen40 was computed.  tizen60 was computed. 
Xamarin.iOS xamarinios was computed. 
Xamarin.Mac xamarinmac was computed. 
Xamarin.TVOS xamarintvos was computed. 
Xamarin.WatchOS xamarinwatchos was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

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
9.3.0 150 3/8/2024
9.2.0 138 3/7/2024
9.1.0 140 3/5/2024
9.0.0 122 2/29/2024
8.0.0 214 12/18/2023