public TimerTriggerBinding(ParameterInfo parameter, TimerTriggerAttribute attribute, TimersConfiguration config)
 {
     _attribute = attribute;
     _parameter = parameter;
     _config = config;
     _bindingContract = CreateBindingDataContract();
 }
        /// <summary>
        /// Enables use of the Timer extensions
        /// </summary>
        /// <param name="config">The <see cref="JobHostConfiguration"/> to configure.</param>
        /// <param name="timersConfig">The <see cref="TimersConfiguration"/> to use.</param>
        public static void UseTimers(this JobHostConfiguration config, TimersConfiguration timersConfig)
        {
            if (config == null)
            {
                throw new ArgumentNullException("config");
            }

            config.RegisterExtensionConfigProvider(new TimersExtensionConfig(timersConfig));
        }
        public TimerListener(TimerTriggerAttribute attribute, string timerName, TimersConfiguration config, ITriggeredFunctionExecutor executor)
        {
            _attribute = attribute;
            _timerName = timerName;
            _config = config;
            _executor = executor;
            _cancellationTokenSource = new CancellationTokenSource();

            _schedule = _attribute.Schedule;
            _scheduleMonitor = _config.ScheduleMonitor;
        }
 public TimersExtensionConfig(TimersConfiguration config)
 {
     _config = config;
 }
 public TimerTriggerAttributeBindingProvider(TimersConfiguration config, TraceWriter trace)
 {
     _config = config;
     _trace = trace;
 }
 public TimerTriggerAttributeBindingProvider(TimersConfiguration config)
 {
     _config = config;
 }