We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3c5b259 commit a4858ebCopy full SHA for a4858eb
src/PolylineAlgorithm/Coordinate.cs
@@ -5,6 +5,7 @@
5
6
namespace PolylineAlgorithm;
7
8
+using PolylineAlgorithm.Validation;
9
using System;
10
using System.Diagnostics;
11
using System.Runtime.InteropServices;
@@ -33,8 +34,8 @@ public bool IsDefault
33
34
&& Longitude == default;
35
36
public bool IsValid
- => CoordinateValidator.Latitude.IsInRange(Latitude)
37
- && CoordinateValidator.Longitude.IsInRange(Longitude);
+ => CoordinateValidator.Default.Latitude.IsInRange(Latitude)
38
+ && CoordinateValidator.Default.Longitude.IsInRange(Longitude);
39
40
41
public override bool Equals(object? obj) {
0 commit comments