-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathLengthUnit.g.cs
85 lines (77 loc) · 2.71 KB
/
LengthUnit.g.cs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by \generate-code.bat.
//
// Changes to this file will be lost when the code is regenerated.
// The build server regenerates the code before each build and a pre-build
// step will regenerate the code on each local build.
//
// See https://github.com/angularsen/UnitsNet/wiki/Adding-a-New-Unit for how to add or edit units.
//
// Add CustomCode\Quantities\MyQuantity.extra.cs files to add code to generated quantities.
// Add UnitDefinitions\MyQuantity.json and run generate-code.bat to generate new units or quantities.
//
// </auto-generated>
//------------------------------------------------------------------------------
// Licensed under MIT No Attribution, see LICENSE file at the root.
// Copyright 2013 Andreas Gullberg Larsen ([email protected]). Maintained at https://github.com/angularsen/UnitsNet.
// ReSharper disable once CheckNamespace
namespace UnitsNet.Units
{
// Disable missing XML comment warnings for the generated unit enums.
#pragma warning disable 1591
public enum LengthUnit
{
Undefined = 0,
/// <summary>
/// One Astronomical Unit is the distance from the solar system Star, the sun, to planet Earth.
/// </summary>
/// <remarks>https://en.wikipedia.org/wiki/Astronomical_unit</remarks>
AstronomicalUnit,
Centimeter,
Chain,
Decimeter,
DtpPica,
DtpPoint,
Fathom,
Foot,
Hand,
Hectometer,
Inch,
KilolightYear,
Kilometer,
Kiloparsec,
/// <summary>
/// A Light Year (ly) is the distance that light travel during an Earth year, ie 365 days.
/// </summary>
/// <remarks>https://en.wikipedia.org/wiki/Light-year</remarks>
LightYear,
MegalightYear,
Megaparsec,
Meter,
Microinch,
Micrometer,
Mil,
Mile,
Millimeter,
Nanometer,
NauticalMile,
/// <summary>
/// A parsec is defined as the distance at which one astronomical unit (AU) subtends an angle of one arcsecond.
/// </summary>
/// <remarks>https://en.wikipedia.org/wiki/Parsec</remarks>
Parsec,
PrinterPica,
PrinterPoint,
Shackle,
/// <summary>
/// Solar radius is a ratio unit to the radius of the solar system star, the sun.
/// </summary>
/// <remarks>https://en.wikipedia.org/wiki/Stellar_classification</remarks>
SolarRadius,
Twip,
UsSurveyFoot,
Yard,
}
#pragma warning restore 1591
}