コード例 #1
0
 public void TestFixtureSetup()
 {
     _service = new ENodebDumpService(_eNodebRepository.Object, _townRepository.Object);
     _eNodebRepository.MockOperations();
     _eNodebRepository.MockRepositorySaveItems <ENodeb, IENodebRepository>();
     _townRepository.MockOpertion();
     _townRepository.MockSixTowns();
     ParametersDumpMapperService.MapFromENodebContainerService();
     CoreMapperService.MapCell();
 }
コード例 #2
0
        public void TestFixtureSetup()
        {
            var module = new AbpAutoMapperModule(_typeFinder);

            module.PostInitialize();
            _service = new ENodebDumpService(_eNodebRepository.Object, _townRepository.Object);
            _eNodebRepository.MockOperations();
            _eNodebRepository.MockGetId <IENodebRepository, ENodeb>();
            _eNodebRepository.MockRepositorySaveItems <ENodeb, IENodebRepository>();
            _townRepository.MockGetId <ITownRepository, Town>();
            _townRepository.MockSixTowns();
        }
コード例 #3
0
 public void TestFixtureSetup()
 {
     var module = new AbpAutoMapperModule(_typeFinder);
     module.PostInitialize();
     _service = new ENodebDumpService(_eNodebRepository.Object, _townRepository.Object);
     _eNodebRepository.MockOperations();
     _eNodebRepository.MockGetId<IENodebRepository, ENodeb>();
     _eNodebRepository.MockRepositorySaveItems<ENodeb, IENodebRepository>();
     _townRepository.MockGetId<ITownRepository, Town>();
     _townRepository.MockOpertion();
     _townRepository.MockSixTowns();
 }
コード例 #4
0
 public NewENodebExcelsController(BasicImportService service, ENodebDumpService dumpService)
 {
     _service = service;
     _dumpService = dumpService;
 }
コード例 #5
0
 public DumpENodebExcelController(ENodebDumpService service, BasicImportService importService)
 {
     _service = service;
     _importService = importService;
 }