This commit is contained in:
ClemensF 2020-04-16 23:15:03 +02:00
parent 3ffb613f80
commit 310f0cca9a
21 changed files with 51 additions and 86 deletions

View file

@ -38,12 +38,7 @@ namespace MapControl.Projections
get { return coordinateSystem; }
set
{
if (value == null)
{
throw new ArgumentNullException("The property value must not be null.");
}
coordinateSystem = value;
coordinateSystem = value ?? throw new ArgumentNullException("The property value must not be null.");
var transformFactory = new CoordinateTransformationFactory();