Skip to content

Commit a6809a6

Browse files
committed
Add doc
1 parent b4b36ad commit a6809a6

File tree

113 files changed

+452
-339
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

113 files changed

+452
-339
lines changed

CodeGen/Generators/UnitsNetGen/QuantityGenerator.cs

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,7 @@ private void GenerateStaticConstructor()
133133
QuantityType = QuantityType.{_quantity.Name};
134134
Units = Enum.GetValues(typeof({_unitEnumName})).Cast<{_unitEnumName}>().Except(new {_unitEnumName}[]{{ {_unitEnumName}.Undefined }}).ToArray();
135135
Zero = new {_quantity.Name}(0, BaseUnit);
136-
Info = new {_quantity.Name}.{_quantity.Name}QuantityInfo();
136+
Info = new {_quantity.Name}QuantityInfo();
137137
}}
138138
" );
139139
}
@@ -195,7 +195,7 @@ private void GenerateStaticProperties()
195195
#region Static Properties
196196
197197
/// <inheritdoc cref=""IQuantity.QuantityInfo""/>
198-
public static {_quantity.Name}.{_quantity.Name}QuantityInfo Info {{ get; }}
198+
public static {_quantity.Name}QuantityInfo Info {{ get; }}
199199
200200
/// <summary>
201201
/// The <see cref=""BaseDimensions"" /> of this quantity.
@@ -1167,11 +1167,12 @@ private void GenerateQuantityInfoClass()
11671167
{
11681168
Writer.WL($@"
11691169
/// <summary>
1170+
/// The <see cref=""QuantityInfo{{{_unitEnumName}}}""/> for the <see cref=""{_quantity.Name}""/> quantity and its units.
11701171
/// </summary>
11711172
public sealed class {_quantity.Name}QuantityInfo : QuantityInfo<{_unitEnumName}>
11721173
{{
11731174
/// <summary>
1174-
/// Constructs an instance.
1175+
/// Constructs an instance of the <see cref=""{_quantity.Name}QuantityInfo""/> class.
11751176
/// </summary>
11761177
internal {_quantity.Name}QuantityInfo() :
11771178
base(""{_quantity.Name}"",

UnitsNet/GeneratedCode/Quantities/Acceleration.g.cs

Lines changed: 4 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

UnitsNet/GeneratedCode/Quantities/AmountOfSubstance.g.cs

Lines changed: 4 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

UnitsNet/GeneratedCode/Quantities/AmplitudeRatio.g.cs

Lines changed: 4 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

UnitsNet/GeneratedCode/Quantities/Angle.g.cs

Lines changed: 4 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

UnitsNet/GeneratedCode/Quantities/ApparentEnergy.g.cs

Lines changed: 4 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

UnitsNet/GeneratedCode/Quantities/ApparentPower.g.cs

Lines changed: 4 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

UnitsNet/GeneratedCode/Quantities/Area.g.cs

Lines changed: 4 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

UnitsNet/GeneratedCode/Quantities/AreaDensity.g.cs

Lines changed: 4 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

UnitsNet/GeneratedCode/Quantities/AreaMomentOfInertia.g.cs

Lines changed: 4 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

UnitsNet/GeneratedCode/Quantities/BitRate.g.cs

Lines changed: 4 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

UnitsNet/GeneratedCode/Quantities/BrakeSpecificFuelConsumption.g.cs

Lines changed: 4 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)