|
@@ -52,5 +52,13 @@ namespace InABox.Core
|
|
|
|
|
|
return unitOfLength.ConvertFromMiles(dist);
|
|
|
}
|
|
|
+
|
|
|
+ public void CopyFrom(Location location)
|
|
|
+ {
|
|
|
+ Longitude = location.Longitude;
|
|
|
+ Latitude = location.Latitude;
|
|
|
+ Timestamp = location.Timestamp;
|
|
|
+ Address = location.Address;
|
|
|
+ }
|
|
|
}
|
|
|
}
|