Example #1
0
        public static VehiclesInMap GetMap(object dataContext)
        {
            if (_map == null)
            {
                _map = new VehiclesInMap { DataContext = dataContext };
            }

            return _map;
        }
Example #2
0
        public static VehiclesInMap GetMap(object dataContext)
        {
            if (_map == null)
            {
                _map = new VehiclesInMap {
                    DataContext = dataContext
                };
            }

            return(_map);
        }