Esempio n. 1
0
        public SupportOptionsFirstTimeUse(ILog log, IOptionsService optionsService,
                                          IPackageService packageService, IShellHelperService shellHelperService, IShellInfoBarService shellInfoBarService,
                                          IMessageService messageService)
        {
            if (log == null)
            {
                throw new ArgumentNullException(nameof(log));
            }

            if (optionsService == null)
            {
                throw new ArgumentNullException(nameof(optionsService));
            }

            if (shellHelperService == null)
            {
                throw new ArgumentNullException(nameof(shellHelperService));
            }

            if (messageService == null)
            {
                throw new ArgumentNullException(nameof(messageService));
            }

            _log                 = log;
            _optionsService      = optionsService;
            _packageService      = packageService;
            _shellHelperService  = shellHelperService;
            _shellInfoBarService = shellInfoBarService;
            _messageService      = messageService;
        }
Esempio n. 2
0
 public SupportOptionsFeature(IServiceProvider serviceProvider, ILog log, IOptionsService optionsService,
                              IPackageService packageService, IShellEventsService shellEventsService, IShellHelperService shellHelperService,
                              IShellInfoBarService shellInfoBarService, IMessageService messageService) : base(serviceProvider, log, optionsService)
 {
     _packageService      = packageService;
     _shellEventsService  = shellEventsService;
     _shellHelperService  = shellHelperService;
     _shellInfoBarService = shellInfoBarService;
     _messageService      = messageService;
 }