Example #1
0
        public ServiceComponentsBase(IEventAggregator eventAggregator, BackupSettingsService settingsService)
        {
            EVENT_AGGREGATOR = eventAggregator;
            EVENT_AGGREGATOR.Subscribe(this);

            BACKUP_SETTINGS_SERVICE = settingsService;
        }
Example #2
0
 public BitbucketBackupComponentViewModel(IEventAggregator eventAggregator, BackupSettingsService settingsService) : base(eventAggregator, settingsService)
 {
     GetService <BitbucketBackupService>();
 }
Example #3
0
 public GithubBackupComponentViewModel(IEventAggregator eventAggregator, BackupSettingsService settingsService) : base(eventAggregator, settingsService)
 {
     m_service = IoC.GetAll <IBackupService>().FirstOrDefault(x => x is GithubBackupService);
 }
Example #4
0
 public GitlabBackupComponentViewModel(IEventAggregator eventAggregator, BackupSettingsService settingsService) : base(eventAggregator, settingsService)
 {
 }