Ejemplo n.º 1
0
        public static void Start(Settings settings)
        {
            _accommodationJobHost = settings.LoggingSettings.AccommodationJobHost;
            var timer = new System.Timers.Timer
            {
                Interval = settings.LoggingSettings.TimeInMillisecondsToLog,
                Enabled  = true
            };

            timer.Elapsed += timScheduledTask_Elapsed;
        }
 public static void Start(Settings settings)
 {
     _accommodationJobHost = settings.LoggingSettings.AccommodationJobHost;
     var timer = new System.Timers.Timer
     {
         Interval = settings.LoggingSettings.TimeInMillisecondsToLog,
         Enabled = true
     };
     timer.Elapsed += timScheduledTask_Elapsed;
 }