public PlexExplorerViewModel(PlexXmlService service, PlexDataMapperService mapperService, SettingViewModel setting, LoggerViewModel logger)
 {
     this.service  = service;
     MapperService = mapperService;
     this.setting  = setting;
     this.logger   = logger;
 }
Ejemplo n.º 2
0
 public MainViewModel(
     SubsenceService subsenceService,
     LoggerViewModel loggerViewModel,
     DualSrtSubtitleService dualSrtSubtitleService,
     AssSubtitleService assSubtitleService,
     SettingViewModel settingViewModel)
 {
     SubsenceService            = subsenceService;
     Logger                     = loggerViewModel;
     GenerateSrtSubtitleService = dualSrtSubtitleService;
     GenerateAssSubtitleService = assSubtitleService;
     Setting                    = settingViewModel;
     Setting.SubcribeChanged((x) => FilterNow());
 }