FluentScheduler.SecondUnit.SecondUnit C# (CSharp) Method

SecondUnit() private method

private SecondUnit ( Schedule schedule, int duration )
schedule Schedule
duration int
        internal SecondUnit(Schedule schedule, int duration)
        {
            _duration = duration;
            Schedule = schedule;
            Schedule.CalculateNextRun = x => x.AddSeconds(_duration);
        }
SecondUnit