You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Remove net4 target
Add link to upgrade wiki page
Add link to serialization wiki page (newly added with the new json/xml data contract serializers)
Some cleanup here and there.
Copy file name to clipboardExpand all lines: README.md
+19-44Lines changed: 19 additions & 44 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -7,38 +7,39 @@ Add strongly typed quantities to your code and get merrily on with your life.
7
7
8
8
No more magic constants found on Stack Overflow, no more second-guessing the unit of parameters and variables.
9
9
10
+
[Upgrading from 4.x to 5.x](https://github.com/angularsen/UnitsNet/wiki/Upgrading-from-4.x-to-5.x)
11
+
10
12
### Overview
11
13
12
14
*[How to install](#how-to-install)
13
-
*[100+ quantities with 1200+ units](UnitsNet/GeneratedCode/Units) generated from [JSON](Common/UnitDefinitions/) by [C# CLI app](CodeGen)
15
+
*[100+ quantities with 1300+ units](UnitsNet/GeneratedCode/Units) generated from [JSON](Common/UnitDefinitions/) by [C# CLI app](CodeGen)
14
16
*[8000+ unit tests](https://ci.appveyor.com/project/angularsen/unitsnet) on conversions and localizations
15
-
* Conforms to [Microsoft's open-source library guidance](https://docs.microsoft.com/en-us/dotnet/standard/library-guidance/), in particular:
16
-
*[SourceLink](https://github.com/dotnet/sourcelink) to step into source code of NuGet package while debugging
17
-
*[Strong naming](https://docs.microsoft.com/en-us/dotnet/standard/library-guidance/get-started#strong-naming) to make the library available to all developers
18
-
* Immutable structs that implement `IEquatable`, `IComparable`
19
17
*[Statically typed quantities and units](#static-typing) to avoid mistakes and communicate intent
20
-
*[Operator overloads](#operator-overloads) for arithmetic on quantities
21
-
*[Parse and ToString()](#culture) supports cultures and localization
18
+
* Immutable structs
19
+
*[Operator overloads](#operator-overloads) for arithmetic
20
+
*[Parse and ToString()](#culture) supports localization
22
21
*[Dynamically parse and convert](#dynamic-parsing) quantities and units
23
22
*[Extensible with custom units](#custom-units)
24
23
*[Example: Creating a unit converter app](#example-app)
25
24
*[Example: WPF app using IValueConverter to parse quantities from input](#example-wpf-app-using-ivalueconverter-to-parse-quantities-from-input)
26
25
*[Precision and accuracy](#precision)
27
-
*[Serialize with JSON.NET](#serialization)
26
+
*[Serialize to JSON, XML and more](#serialization)
28
27
*[Contribute](#contribute) if you are missing some units
29
28
*[Continuous integration](#ci) posts status reports to pull requests and commits
30
29
*[Who are using this?](#who-are-using)
31
30
32
-
### <aname="how-to-install"></a>How to install
31
+
### <aname="how-to-install"></a>Installing via NuGet
32
+
33
+
Add it via CLI
33
34
34
-
Run the following command in the [Package Manager Console](http://docs.nuget.org/docs/start-here/using-the-package-manager-console) or go to the [NuGet site](https://www.nuget.org/packages/UnitsNet/) for the complete release history.
35
+
dotnet add package UnitsNet
36
+
37
+
or go to [NuGet Gallery | UnitsNet](https://www.nuget.org/packages/UnitsNet) for detailed instructions.
0 commit comments