@@ -133,34 +133,4 @@ public interface IQuantity<TSelf, TUnitType, TValueType> : IQuantity<TUnitType>
133
133
where TValueType : struct
134
134
{
135
135
}
136
-
137
- /// <summary>
138
- /// An <see cref="IQuantity{TSelf, TUnitType, TValueType}"/> that (in .NET 7+) implements generic math interfaces for arithmetic operations.
139
- /// </summary>
140
- /// <typeparam name="TSelf">The type itself, for the CRT pattern.</typeparam>
141
- /// <typeparam name="TUnitType">The underlying unit enum type.</typeparam>
142
- /// <typeparam name="TValueType">The underlying value type for internal representation.</typeparam>
143
- public interface IArithmeticQuantity < TSelf , TUnitType , TValueType > : IQuantity < TSelf , TUnitType , TValueType >
144
- #if NET7_0_OR_GREATER
145
- , IAdditionOperators < TSelf , TSelf , TSelf >
146
- , IAdditiveIdentity < TSelf , TSelf >
147
- , ISubtractionOperators < TSelf , TSelf , TSelf >
148
- , IMultiplyOperators < TSelf , TValueType , TSelf >
149
- , IDivisionOperators < TSelf , TValueType , TSelf >
150
- , IUnaryNegationOperators < TSelf , TSelf >
151
- #endif
152
- where TSelf : IArithmeticQuantity < TSelf , TUnitType , TValueType >
153
- where TUnitType : Enum
154
- where TValueType : struct
155
- #if NET7_0_OR_GREATER
156
- , INumber < TValueType >
157
- #endif
158
- {
159
- #if NET7_0_OR_GREATER
160
- /// <summary>
161
- /// The zero value of this quantity.
162
- /// </summary>
163
- static abstract TSelf Zero { get ; }
164
- #endif
165
- }
166
136
}
0 commit comments