Exemplo n.º 1
0
 public OptionsService(
     ILogLevelSwitchService logLevelSwitchService,
     ICommandLineService commandLineService)
 {
     _logLevelSwitchService = logLevelSwitchService;
     _commandLineService    = commandLineService;
 }
Exemplo n.º 2
0
        public OptionsService(
            ICommandLineService commandLineService,
            ILogLevelSwitchService logLevelSwitchService)
        {
            _commandLineService    = commandLineService;
            _logLevelSwitchService = logLevelSwitchService;

            Messenger.Default.Register <LogLevelChangedMessage>(this, OnLogLevelChanged);
        }
Exemplo n.º 3
0
        public OptionsService(
            ILogLevelSwitchService logLevelSwitchService,
            ICommandLineService commandLineService)
        {
            _options = new Lazy <Options>(OptionsFactory);

            _logLevelSwitchService = logLevelSwitchService;
            _commandLineService    = commandLineService;
        }
Exemplo n.º 4
0
        public OptionsService(
            ICommandLineService commandLineService,
            ILogLevelSwitchService logLevelSwitchService,
            IMonitorsService monitorsService)
        {
            _commandLineService    = commandLineService;
            _logLevelSwitchService = logLevelSwitchService;
            _monitorsService       = monitorsService;

            Init();
        }
Exemplo n.º 5
0
        public OptionsService(
            ICommandLineService commandLineService,
            ILogLevelSwitchService logLevelSwitchService,
            IMonitorsService monitorsService,
            IDateTimeService dateTimeService,
            IQueryWeekendService queryWeekendService)
        {
            _commandLineService    = commandLineService;
            _logLevelSwitchService = logLevelSwitchService;
            _monitorsService       = monitorsService;
            _dateTimeService       = dateTimeService;
            _queryWeekendService   = queryWeekendService;

            WeakReferenceMessenger.Default.Register <LogLevelChangedMessage>(this, OnLogLevelChanged);
        }
Exemplo n.º 6
0
 public OptionsService(ILogLevelSwitchService logLevelSwitchService)
 {
     _logLevelSwitchService = logLevelSwitchService;
 }