RoverOperator.Content.GPSViewViewModel.GPSViewViewModel C# (CSharp) Method

GPSViewViewModel() public method

public GPSViewViewModel ( Dispatcher d ) : System
d System.Windows.Threading.Dispatcher
return System
        public GPSViewViewModel(Dispatcher d)
        {
            _dispatcher = d;
            StatusUpdater.Instance.GPSCoordinatesUpdated += new StatusUpdater.GPSCoordinatesUpdatedDelegate(UpdateGPS);
            //Make sure list and rover pin are instantiated
            if (pushPinCollection == null)
            {
                pushPinCollection = new ObservableCollection<Pushpin>();
            }
        }