Skip to content

Commit 2e191b9

Browse files
committed
Remove IDecimalQuantity
1 parent 2f18d8e commit 2e191b9

File tree

2 files changed

+0
-31
lines changed

2 files changed

+0
-31
lines changed

UnitsNet.Tests/Serialization/SerializationTestsBase.cs

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@
44
using System;
55
using System.Collections.Generic;
66
using System.Diagnostics.CodeAnalysis;
7-
using System.Globalization;
87
using System.Runtime.Serialization;
98
using UnitsNet.Units;
109
using Xunit;
@@ -216,17 +215,5 @@ protected class TestObject<TQuantity>
216215
[DataMember]
217216
public TQuantity? NullableQuantity { get; set; }
218217
}
219-
220-
[DataContract]
221-
protected class TestObject<TDoubleQuantity, TDecimalQuantity> : TestObject<TDoubleQuantity>
222-
where TDoubleQuantity : struct, IQuantity
223-
where TDecimalQuantity : struct, IQuantity, IDecimalQuantity
224-
{
225-
[DataMember]
226-
public TDecimalQuantity DecimalQuantity { get; set; }
227-
228-
[DataMember]
229-
public TDecimalQuantity? NullableDecimalQuantity { get; set; }
230-
}
231218
}
232219
}

UnitsNet/IDecimalQuantity.cs

Lines changed: 0 additions & 18 deletions
This file was deleted.

0 commit comments

Comments
 (0)