public CoordinateConversionViewModel() { OCView = new OutputCoordinateView(); // set default CoordinateGetter coordinateGetter = new CoordinateGetBase(); Mediator.Register(CoordinateConversionLibrary.Constants.RequestOutputUpdate, OnUpdateOutputs); Mediator.Register(CoordinateConversionLibrary.Constants.SelectSpatialReference, OnSelectSpatialReference); }
public void SetCoordinateGetter(CoordinateGetBase coordGetter) { coordinateGetter = coordGetter; }