@@ -50,6 +50,7 @@ public static class NumberToAmountOfSubstanceExtensions
50
50
public static AmountOfSubstance Centimoles < T > ( this T value ) => AmountOfSubstance . FromCentimoles ( Convert . ToDouble ( value ) ) ;
51
51
52
52
/// <inheritdoc cref="AmountOfSubstance.FromCentimoles(UnitsNet.QuantityValue)" />
53
+ [ Obsolete ( "Nullable type support has been deprecated and will be removed in a future release." ) ]
53
54
public static AmountOfSubstance ? Centimoles < T > ( this T ? value ) where T : struct => AmountOfSubstance . FromCentimoles ( value == null ? ( double ? ) null : Convert . ToDouble ( value . Value ) ) ;
54
55
55
56
#endregion
@@ -60,6 +61,7 @@ public static class NumberToAmountOfSubstanceExtensions
60
61
public static AmountOfSubstance CentipoundMoles < T > ( this T value ) => AmountOfSubstance . FromCentipoundMoles ( Convert . ToDouble ( value ) ) ;
61
62
62
63
/// <inheritdoc cref="AmountOfSubstance.FromCentipoundMoles(UnitsNet.QuantityValue)" />
64
+ [ Obsolete ( "Nullable type support has been deprecated and will be removed in a future release." ) ]
63
65
public static AmountOfSubstance ? CentipoundMoles < T > ( this T ? value ) where T : struct => AmountOfSubstance . FromCentipoundMoles ( value == null ? ( double ? ) null : Convert . ToDouble ( value . Value ) ) ;
64
66
65
67
#endregion
@@ -70,6 +72,7 @@ public static class NumberToAmountOfSubstanceExtensions
70
72
public static AmountOfSubstance Decimoles < T > ( this T value ) => AmountOfSubstance . FromDecimoles ( Convert . ToDouble ( value ) ) ;
71
73
72
74
/// <inheritdoc cref="AmountOfSubstance.FromDecimoles(UnitsNet.QuantityValue)" />
75
+ [ Obsolete ( "Nullable type support has been deprecated and will be removed in a future release." ) ]
73
76
public static AmountOfSubstance ? Decimoles < T > ( this T ? value ) where T : struct => AmountOfSubstance . FromDecimoles ( value == null ? ( double ? ) null : Convert . ToDouble ( value . Value ) ) ;
74
77
75
78
#endregion
@@ -80,6 +83,7 @@ public static class NumberToAmountOfSubstanceExtensions
80
83
public static AmountOfSubstance DecipoundMoles < T > ( this T value ) => AmountOfSubstance . FromDecipoundMoles ( Convert . ToDouble ( value ) ) ;
81
84
82
85
/// <inheritdoc cref="AmountOfSubstance.FromDecipoundMoles(UnitsNet.QuantityValue)" />
86
+ [ Obsolete ( "Nullable type support has been deprecated and will be removed in a future release." ) ]
83
87
public static AmountOfSubstance ? DecipoundMoles < T > ( this T ? value ) where T : struct => AmountOfSubstance . FromDecipoundMoles ( value == null ? ( double ? ) null : Convert . ToDouble ( value . Value ) ) ;
84
88
85
89
#endregion
@@ -90,6 +94,7 @@ public static class NumberToAmountOfSubstanceExtensions
90
94
public static AmountOfSubstance Kilomoles < T > ( this T value ) => AmountOfSubstance . FromKilomoles ( Convert . ToDouble ( value ) ) ;
91
95
92
96
/// <inheritdoc cref="AmountOfSubstance.FromKilomoles(UnitsNet.QuantityValue)" />
97
+ [ Obsolete ( "Nullable type support has been deprecated and will be removed in a future release." ) ]
93
98
public static AmountOfSubstance ? Kilomoles < T > ( this T ? value ) where T : struct => AmountOfSubstance . FromKilomoles ( value == null ? ( double ? ) null : Convert . ToDouble ( value . Value ) ) ;
94
99
95
100
#endregion
@@ -100,6 +105,7 @@ public static class NumberToAmountOfSubstanceExtensions
100
105
public static AmountOfSubstance KilopoundMoles < T > ( this T value ) => AmountOfSubstance . FromKilopoundMoles ( Convert . ToDouble ( value ) ) ;
101
106
102
107
/// <inheritdoc cref="AmountOfSubstance.FromKilopoundMoles(UnitsNet.QuantityValue)" />
108
+ [ Obsolete ( "Nullable type support has been deprecated and will be removed in a future release." ) ]
103
109
public static AmountOfSubstance ? KilopoundMoles < T > ( this T ? value ) where T : struct => AmountOfSubstance . FromKilopoundMoles ( value == null ? ( double ? ) null : Convert . ToDouble ( value . Value ) ) ;
104
110
105
111
#endregion
@@ -110,6 +116,7 @@ public static class NumberToAmountOfSubstanceExtensions
110
116
public static AmountOfSubstance Micromoles < T > ( this T value ) => AmountOfSubstance . FromMicromoles ( Convert . ToDouble ( value ) ) ;
111
117
112
118
/// <inheritdoc cref="AmountOfSubstance.FromMicromoles(UnitsNet.QuantityValue)" />
119
+ [ Obsolete ( "Nullable type support has been deprecated and will be removed in a future release." ) ]
113
120
public static AmountOfSubstance ? Micromoles < T > ( this T ? value ) where T : struct => AmountOfSubstance . FromMicromoles ( value == null ? ( double ? ) null : Convert . ToDouble ( value . Value ) ) ;
114
121
115
122
#endregion
@@ -120,6 +127,7 @@ public static class NumberToAmountOfSubstanceExtensions
120
127
public static AmountOfSubstance MicropoundMoles < T > ( this T value ) => AmountOfSubstance . FromMicropoundMoles ( Convert . ToDouble ( value ) ) ;
121
128
122
129
/// <inheritdoc cref="AmountOfSubstance.FromMicropoundMoles(UnitsNet.QuantityValue)" />
130
+ [ Obsolete ( "Nullable type support has been deprecated and will be removed in a future release." ) ]
123
131
public static AmountOfSubstance ? MicropoundMoles < T > ( this T ? value ) where T : struct => AmountOfSubstance . FromMicropoundMoles ( value == null ? ( double ? ) null : Convert . ToDouble ( value . Value ) ) ;
124
132
125
133
#endregion
@@ -130,6 +138,7 @@ public static class NumberToAmountOfSubstanceExtensions
130
138
public static AmountOfSubstance Millimoles < T > ( this T value ) => AmountOfSubstance . FromMillimoles ( Convert . ToDouble ( value ) ) ;
131
139
132
140
/// <inheritdoc cref="AmountOfSubstance.FromMillimoles(UnitsNet.QuantityValue)" />
141
+ [ Obsolete ( "Nullable type support has been deprecated and will be removed in a future release." ) ]
133
142
public static AmountOfSubstance ? Millimoles < T > ( this T ? value ) where T : struct => AmountOfSubstance . FromMillimoles ( value == null ? ( double ? ) null : Convert . ToDouble ( value . Value ) ) ;
134
143
135
144
#endregion
@@ -140,6 +149,7 @@ public static class NumberToAmountOfSubstanceExtensions
140
149
public static AmountOfSubstance MillipoundMoles < T > ( this T value ) => AmountOfSubstance . FromMillipoundMoles ( Convert . ToDouble ( value ) ) ;
141
150
142
151
/// <inheritdoc cref="AmountOfSubstance.FromMillipoundMoles(UnitsNet.QuantityValue)" />
152
+ [ Obsolete ( "Nullable type support has been deprecated and will be removed in a future release." ) ]
143
153
public static AmountOfSubstance ? MillipoundMoles < T > ( this T ? value ) where T : struct => AmountOfSubstance . FromMillipoundMoles ( value == null ? ( double ? ) null : Convert . ToDouble ( value . Value ) ) ;
144
154
145
155
#endregion
@@ -150,6 +160,7 @@ public static class NumberToAmountOfSubstanceExtensions
150
160
public static AmountOfSubstance Moles < T > ( this T value ) => AmountOfSubstance . FromMoles ( Convert . ToDouble ( value ) ) ;
151
161
152
162
/// <inheritdoc cref="AmountOfSubstance.FromMoles(UnitsNet.QuantityValue)" />
163
+ [ Obsolete ( "Nullable type support has been deprecated and will be removed in a future release." ) ]
153
164
public static AmountOfSubstance ? Moles < T > ( this T ? value ) where T : struct => AmountOfSubstance . FromMoles ( value == null ? ( double ? ) null : Convert . ToDouble ( value . Value ) ) ;
154
165
155
166
#endregion
@@ -160,6 +171,7 @@ public static class NumberToAmountOfSubstanceExtensions
160
171
public static AmountOfSubstance Nanomoles < T > ( this T value ) => AmountOfSubstance . FromNanomoles ( Convert . ToDouble ( value ) ) ;
161
172
162
173
/// <inheritdoc cref="AmountOfSubstance.FromNanomoles(UnitsNet.QuantityValue)" />
174
+ [ Obsolete ( "Nullable type support has been deprecated and will be removed in a future release." ) ]
163
175
public static AmountOfSubstance ? Nanomoles < T > ( this T ? value ) where T : struct => AmountOfSubstance . FromNanomoles ( value == null ? ( double ? ) null : Convert . ToDouble ( value . Value ) ) ;
164
176
165
177
#endregion
@@ -170,6 +182,7 @@ public static class NumberToAmountOfSubstanceExtensions
170
182
public static AmountOfSubstance NanopoundMoles < T > ( this T value ) => AmountOfSubstance . FromNanopoundMoles ( Convert . ToDouble ( value ) ) ;
171
183
172
184
/// <inheritdoc cref="AmountOfSubstance.FromNanopoundMoles(UnitsNet.QuantityValue)" />
185
+ [ Obsolete ( "Nullable type support has been deprecated and will be removed in a future release." ) ]
173
186
public static AmountOfSubstance ? NanopoundMoles < T > ( this T ? value ) where T : struct => AmountOfSubstance . FromNanopoundMoles ( value == null ? ( double ? ) null : Convert . ToDouble ( value . Value ) ) ;
174
187
175
188
#endregion
@@ -180,6 +193,7 @@ public static class NumberToAmountOfSubstanceExtensions
180
193
public static AmountOfSubstance PoundMoles < T > ( this T value ) => AmountOfSubstance . FromPoundMoles ( Convert . ToDouble ( value ) ) ;
181
194
182
195
/// <inheritdoc cref="AmountOfSubstance.FromPoundMoles(UnitsNet.QuantityValue)" />
196
+ [ Obsolete ( "Nullable type support has been deprecated and will be removed in a future release." ) ]
183
197
public static AmountOfSubstance ? PoundMoles < T > ( this T ? value ) where T : struct => AmountOfSubstance . FromPoundMoles ( value == null ? ( double ? ) null : Convert . ToDouble ( value . Value ) ) ;
184
198
185
199
#endregion
0 commit comments