예제 #1
0
 public DrsImportService(
     DrsSettingsMetaService metaService,
     DrsSettingsService settingService,
     DrsScannerService scannerService,
     DrsDecrypterService decrypterService)
     : base(metaService)
 {
     _SettingService   = settingService;
     _ScannerService   = scannerService;
     _DecrypterService = decrypterService;
 }
예제 #2
0
        static DrsServiceLocator()
        {
            CustomSettings    = LoadCustomSettings();
            ReferenceSettings = LoadReferenceSettings();

            MetaService      = new DrsSettingsMetaService(CustomSettings, ReferenceSettings);
            DecrypterService = new DrsDecrypterService(MetaService);
            ScannerService   = new DrsScannerService(MetaService, DecrypterService);
            SettingService   = new DrsSettingsService(MetaService, DecrypterService);
            ImportService    = new DrsImportService(MetaService, SettingService, ScannerService, DecrypterService);
        }