public HomeController(IRepositoryFactory repositoryFactory, IMapDataService mapService) { Contract.Requires(repositoryFactory != null); Contract.Requires(mapService != null); _repositoryFactory = repositoryFactory; _mapService = mapService; }
public BaiduMapService(IMapDataService mapDataService) { this.mapDataService = mapDataService; }