예제 #1
0
 public HomeController(IRepositoryFactory repositoryFactory, IMapDataService mapService)
 {
     Contract.Requires(repositoryFactory != null);
     Contract.Requires(mapService != null);
     _repositoryFactory = repositoryFactory;
     _mapService = mapService;
 }
예제 #2
0
 public BaiduMapService(IMapDataService mapDataService)
 {
     this.mapDataService = mapDataService;
 }