-
Notifications
You must be signed in to change notification settings - Fork 385
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
432b861
commit 8726a23
Showing
3 changed files
with
127 additions
and
122 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,48 +1,48 @@ | ||
// Copyright © 2007 by Initial Force AS. All rights reserved. | ||
// https://github.com/InitialForce/SIUnits | ||
// | ||
// Permission is hereby granted, free of charge, to any person obtaining a copy | ||
// of this software and associated documentation files (the "Software"), to deal | ||
// in the Software without restriction, including without limitation the rights | ||
// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | ||
// copies of the Software, and to permit persons to whom the Software is | ||
// furnished to do so, subject to the following conditions: | ||
// | ||
// The above copyright notice and this permission notice shall be included in | ||
// all copies or substantial portions of the Software. | ||
// | ||
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR | ||
// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, | ||
// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE | ||
// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER | ||
// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, | ||
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN | ||
// THE SOFTWARE. | ||
|
||
using System.Reflection; | ||
using System.Resources; | ||
|
||
// General Information about an assembly is controlled through the following | ||
// set of attributes. Change these attribute values to modify the information | ||
// associated with an assembly. | ||
|
||
[assembly: AssemblyTitle("UnitsNet")] | ||
[assembly: AssemblyDescription("Data structures and helper methods to convert values between units, parse value and unit from text or get textual representation.")] | ||
[assembly: AssemblyConfiguration("")] | ||
[assembly: AssemblyCompany("Initial Force AS")] | ||
[assembly: AssemblyProduct("UnitsNet")] | ||
[assembly: AssemblyCopyright("Copyright © 2007-2013 Initial Force AS")] | ||
[assembly: AssemblyTrademark("")] | ||
[assembly: AssemblyCulture("")] | ||
[assembly: NeutralResourcesLanguage("")] | ||
|
||
// Version information for an assembly consists of the following four values: | ||
// | ||
// Major Version | ||
// Minor Version | ||
// Build Number | ||
// Revision | ||
// | ||
|
||
[assembly: AssemblyVersion("1.9.0")] | ||
[assembly: AssemblyFileVersion("1.9.0")] | ||
// Copyright © 2007 by Initial Force AS. All rights reserved. | ||
// https://github.com/InitialForce/SIUnits | ||
// | ||
// Permission is hereby granted, free of charge, to any person obtaining a copy | ||
// of this software and associated documentation files (the "Software"), to deal | ||
// in the Software without restriction, including without limitation the rights | ||
// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | ||
// copies of the Software, and to permit persons to whom the Software is | ||
// furnished to do so, subject to the following conditions: | ||
// | ||
// The above copyright notice and this permission notice shall be included in | ||
// all copies or substantial portions of the Software. | ||
// | ||
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR | ||
// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, | ||
// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE | ||
// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER | ||
// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, | ||
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN | ||
// THE SOFTWARE. | ||
|
||
using System.Reflection; | ||
using System.Resources; | ||
|
||
// General Information about an assembly is controlled through the following | ||
// set of attributes. Change these attribute values to modify the information | ||
// associated with an assembly. | ||
|
||
[assembly: AssemblyTitle("UnitsNet")] | ||
[assembly: AssemblyDescription("Data structures and helper methods to convert values between units, parse value and unit from text or get textual representation.")] | ||
[assembly: AssemblyConfiguration("")] | ||
[assembly: AssemblyCompany("Initial Force AS")] | ||
[assembly: AssemblyProduct("UnitsNet")] | ||
[assembly: AssemblyCopyright("Copyright © 2007-2013 Initial Force AS")] | ||
[assembly: AssemblyTrademark("")] | ||
[assembly: AssemblyCulture("")] | ||
[assembly: NeutralResourcesLanguage("")] | ||
|
||
// Version information for an assembly consists of the following four values: | ||
// | ||
// Major Version | ||
// Minor Version | ||
// Build Number | ||
// Revision | ||
// | ||
|
||
[assembly: AssemblyVersion("1.10.0")] | ||
[assembly: AssemblyFileVersion("1.10.0")] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,34 +1,34 @@ | ||
using System.Reflection; | ||
using System.Runtime.CompilerServices; | ||
using System.Runtime.InteropServices; | ||
|
||
// General Information about an assembly is controlled through the following | ||
// set of attributes. Change these attribute values to modify the information | ||
// associated with an assembly. | ||
[assembly: AssemblyTitle("UnitsNet.Tests.net35")] | ||
[assembly: AssemblyDescription("")] | ||
[assembly: AssemblyConfiguration("")] | ||
[assembly: AssemblyCompany("")] | ||
[assembly: AssemblyProduct("UnitsNet.Tests.net35")] | ||
[assembly: AssemblyCopyright("Copyright © 2013")] | ||
[assembly: AssemblyTrademark("")] | ||
[assembly: AssemblyCulture("")] | ||
|
||
// Setting ComVisible to false makes the types in this assembly not visible | ||
// to COM components. If you need to access a type in this assembly from | ||
// COM, set the ComVisible attribute to true on that type. | ||
[assembly: ComVisible(false)] | ||
|
||
// The following GUID is for the ID of the typelib if this project is exposed to COM | ||
[assembly: Guid("0a912b96-39c0-4b7a-b045-a49ef3e4bc3c")] | ||
|
||
// Version information for an assembly consists of the following four values: | ||
// | ||
// Major Version | ||
// Minor Version | ||
// Build Number | ||
// Revision | ||
// | ||
|
||
[assembly: AssemblyVersion("1.9.0")] | ||
[assembly: AssemblyFileVersion("1.9.0")] | ||
using System.Reflection; | ||
using System.Runtime.CompilerServices; | ||
using System.Runtime.InteropServices; | ||
|
||
// General Information about an assembly is controlled through the following | ||
// set of attributes. Change these attribute values to modify the information | ||
// associated with an assembly. | ||
[assembly: AssemblyTitle("UnitsNet.Tests.net35")] | ||
[assembly: AssemblyDescription("")] | ||
[assembly: AssemblyConfiguration("")] | ||
[assembly: AssemblyCompany("")] | ||
[assembly: AssemblyProduct("UnitsNet.Tests.net35")] | ||
[assembly: AssemblyCopyright("Copyright © 2013")] | ||
[assembly: AssemblyTrademark("")] | ||
[assembly: AssemblyCulture("")] | ||
|
||
// Setting ComVisible to false makes the types in this assembly not visible | ||
// to COM components. If you need to access a type in this assembly from | ||
// COM, set the ComVisible attribute to true on that type. | ||
[assembly: ComVisible(false)] | ||
|
||
// The following GUID is for the ID of the typelib if this project is exposed to COM | ||
[assembly: Guid("0a912b96-39c0-4b7a-b045-a49ef3e4bc3c")] | ||
|
||
// Version information for an assembly consists of the following four values: | ||
// | ||
// Major Version | ||
// Minor Version | ||
// Build Number | ||
// Revision | ||
// | ||
|
||
[assembly: AssemblyVersion("1.10.0")] | ||
[assembly: AssemblyFileVersion("1.10.0")] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,40 +1,45 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<package xmlns="http://schemas.microsoft.com/packaging/2011/08/nuspec.xsd"> | ||
<metadata> | ||
<id>UnitsNet</id> | ||
<version>1.9.0</version> | ||
<title>Units.NET</title> | ||
<authors>Andreas Gullberg Larsen</authors> | ||
<owners>Initial Force AS</owners> | ||
<licenseUrl>https://github.com/InitialForce/UnitsNet/blob/master/LICENSE</licenseUrl> | ||
<projectUrl>https://github.com/InitialForce/UnitsNet</projectUrl> | ||
<requireLicenseAcceptance>false</requireLicenseAcceptance> | ||
<description>Units.NET gives you all the common units of measurement and the conversions between them. It is light-weight, unit tested and supports PCL.</description> | ||
<summary>Simplifies working with units of measurement.</summary> | ||
<releaseNotes>v1.9: Improved precision of PoundForce unit (thanks Jim Selikoff). | ||
|
||
v1.8: Added angle units of measurement (thanks @gpetrou). Added tests and fixed bug in NewtonPerSquareCentimeter and NewtonPerSquareMillimeter. | ||
|
||
v1.7: Added imperial and US units for volume and area. | ||
|
||
v1.6: Added area units. Fixed exception in TryConvert for volume units. | ||
|
||
v1.5: Added volume units of measurement (thanks @vitasimek). Added missing operator overloads. | ||
|
||
v1.4: Added ShortTon and LongTon mass units (thanks Cameron MacFarland). Added TryConvert methods. | ||
|
||
v1.3: Added pressure units. Added dynamic conversion via UnitConverter and UnitValue | ||
|
||
v1.2: Added force, torque, pressure, mass, voltage, length and length2d units of measurement. | ||
</releaseNotes> | ||
<copyright>Copyright © 2007-2013 Initial Force AS</copyright> | ||
<language>en-US</language> | ||
<tags>unit units measurement si metric imperial abbreviation abbreviations convert parse c# .net immutable</tags> | ||
</metadata> | ||
<files> | ||
<file src="bin\UnitsNet.pcl.dll" target="lib\portable-win+net40+sl40+wp+Xbox40\UnitsNet.pcl.dll" /> | ||
<file src="bin\UnitsNet.net35.dll" target="lib\net35-client\UnitsNet.net35.dll" /> | ||
<file src="bin\UnitsNet.sl4.dll" target="lib\sl4\UnitsNet.sl4.dll" /> | ||
<file src="bin\UnitsNet.netcore45\UnitsNet.netcore45.dll" target="lib\netcore45\UnitsNet.netcore45.dll" /> | ||
</files> | ||
</package> | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<package xmlns="http://schemas.microsoft.com/packaging/2011/08/nuspec.xsd"> | ||
<metadata> | ||
<id>UnitsNet</id> | ||
<version>1.10.0</version> | ||
<title>Units.NET</title> | ||
<authors>Andreas Gullberg Larsen</authors> | ||
<owners>Initial Force AS</owners> | ||
<licenseUrl>https://github.com/InitialForce/UnitsNet/blob/master/LICENSE</licenseUrl> | ||
<projectUrl>https://github.com/InitialForce/UnitsNet</projectUrl> | ||
<requireLicenseAcceptance>false</requireLicenseAcceptance> | ||
<description>Units.NET gives you all the common units of measurement and the conversions between them. It is light-weight, unit tested and supports PCL.</description> | ||
<summary>Simplifies working with units of measurement.</summary> | ||
<releaseNotes>v1.10: Added missing localization to units for US English and Russian cultures (thanks George Zhuikov). | ||
Added RotationalSpeed and Flow unit classes (thanks George Zhuikov). | ||
Added mils and microinches length units (thanks Georgios). | ||
Refactored to generate unit classes with T4 templates, a lot less work to add new units. | ||
|
||
v1.9: Improved precision of PoundForce unit (thanks Jim Selikoff). | ||
|
||
v1.8: Added angle units of measurement (thanks Georgios). Added tests and fixed bug in NewtonPerSquareCentimeter and NewtonPerSquareMillimeter. | ||
|
||
v1.7: Added imperial and US units for volume and area. | ||
|
||
v1.6: Added area units. Fixed exception in TryConvert for volume units. | ||
|
||
v1.5: Added volume units of measurement (thanks @vitasimek). Added missing operator overloads. | ||
|
||
v1.4: Added ShortTon and LongTon mass units (thanks Cameron MacFarland). Added TryConvert methods. | ||
|
||
v1.3: Added pressure units. Added dynamic conversion via UnitConverter and UnitValue | ||
|
||
v1.2: Added force, torque, pressure, mass, voltage, length and length2d units of measurement. | ||
</releaseNotes> | ||
<copyright>Copyright © 2007-2013 Initial Force AS</copyright> | ||
<language>en-US</language> | ||
<tags>unit units measurement si metric imperial abbreviation abbreviations convert parse c# .net immutable</tags> | ||
</metadata> | ||
<files> | ||
<file src="bin\UnitsNet.pcl.dll" target="lib\portable-win+net40+sl40+wp+Xbox40\UnitsNet.pcl.dll" /> | ||
<file src="bin\UnitsNet.net35.dll" target="lib\net35-client\UnitsNet.net35.dll" /> | ||
<file src="bin\UnitsNet.sl4.dll" target="lib\sl4\UnitsNet.sl4.dll" /> | ||
<file src="bin\UnitsNet.netcore45\UnitsNet.netcore45.dll" target="lib\netcore45\UnitsNet.netcore45.dll" /> | ||
</files> | ||
</package> |