Exemplo n.º 1
0
 public DrsImportService(
     DrsSettingsMetaService metaService,
     DrsSettingsService settingService,
     DrsScannerService scannerService,
     DrsDecrypterService decrypterService)
     : base(metaService)
 {
     _SettingService   = settingService;
     _ScannerService   = scannerService;
     _DecrypterService = decrypterService;
 }
Exemplo n.º 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);
        }