コード例 #1
0
        public Observer(CoreSettings settings, ILogger logger)
        {
            this.settings = settings;

            logger.Information(settings.Message);
        }
コード例 #2
0
 public TimerObserver(Settings settings, ILogger logger, CoreSettings coreSettings) : base(coreSettings, logger)
 {
     this.settings = settings;
     this.logger   = logger.ForContext <TimerObserver>();
 }