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
/// Adds a unit abbreviation for the given unit enum value and sets it as the default.
95
+
/// This is used to dynamically add abbreviations for existing unit enums such as <see cref="UnitsNet.Units.LengthUnit"/> or to extend with third-party unit enums
96
+
/// in order to <see cref="UnitParser.Parse{TUnitType}"/> or <see cref="GetDefaultAbbreviation{TUnitType}"/> on them later.
97
+
/// </summary>
98
+
/// <param name="unit">The unit enum value.</param>
99
+
/// <param name="abbreviation">Unit abbreviations to add as default.</param>
100
+
/// <typeparam name="TUnitType">The type of unit enum.</typeparam>
101
+
[PublicAPI]
102
+
// Windows Runtime Component does not allow public methods/ctors with same number of parameters: https://msdn.microsoft.com/en-us/library/br230301.aspx#Overloaded methods
/// Adds a unit abbreviation for the given unit enum value and sets it as the default.
142
+
/// This is used to dynamically add abbreviations for existing unit enums such as <see cref="LengthUnit"/> or to extend with third-party unit enums
143
+
/// in order to <see cref="UnitParser.Parse{TUnitType}"/> or <see cref="GetDefaultAbbreviation{TUnitType}"/> on them later.
144
+
/// </summary>
145
+
/// <param name="unit">The unit enum value.</param>
146
+
/// <param name="formatProvider">The format provider to use for lookup. Defaults to <see cref="GlobalConfiguration.DefaultCulture" /> if null.</param>
147
+
/// <param name="abbreviation">Unit abbreviation to add as default.</param>
148
+
/// <typeparam name="TUnitType">The type of unit enum.</typeparam>
149
+
[PublicAPI]
150
+
// Windows Runtime Component does not allow public methods/ctors with same number of parameters: https://msdn.microsoft.com/en-us/library/br230301.aspx#Overloaded methods
/// Adds a unit abbreviation for the given unit enum value and sets it as the default.
190
+
/// This is used to dynamically add abbreviations for existing unit enums such as <see cref="LengthUnit"/> or to extend with third-party unit enums
191
+
/// in order to <see cref="UnitParser.Parse{TUnitType}"/> or <see cref="GetDefaultAbbreviation{TUnitType}"/> on them later.
192
+
/// </summary>
193
+
/// <param name="unitType">The unit enum type.</param>
194
+
/// <param name="unitValue">The unit enum value.</param>
195
+
/// <param name="formatProvider">The format provider to use for lookup. Defaults to <see cref="GlobalConfiguration.DefaultCulture" /> if null.</param>
196
+
/// <param name="abbreviation">Unit abbreviation to add as default.</param>
197
+
[PublicAPI]
198
+
// Windows Runtime Component does not allow public methods/ctors with same number of parameters: https://msdn.microsoft.com/en-us/library/br230301.aspx#Overloaded methods
0 commit comments