C# Класс FluentScheduler.RestrictableUnitExtensions

Extension class for restrictable units.
Показать файл Открыть проект

Открытые методы

Метод Описание
Between ( this unit, int startHour, int startMinute, int endHour, int endMinute ) : ITimeRestrictableUnit

Runs the job between the given start and end hour of day.

WeekdaysOnly ( this unit ) : IDayRestrictableUnit

Runs the job only on weekdays. The schedule being affected

Описание методов

Between() публичный статический Метод

Runs the job between the given start and end hour of day.
public static Between ( this unit, int startHour, int startMinute, int endHour, int endMinute ) : ITimeRestrictableUnit
unit this The schedule being affected.
startHour int The start hours (0 through 23).
startMinute int The start minutes (0 through 59).
endHour int The end hours (0 through 23).
endMinute int The end minutes (0 through 59).
Результат ITimeRestrictableUnit

WeekdaysOnly() публичный статический Метод

Runs the job only on weekdays. The schedule being affected
public static WeekdaysOnly ( this unit ) : IDayRestrictableUnit
unit this
Результат IDayRestrictableUnit