C# Class FluentScheduler.RestrictableUnitExtensions

Extension class for restrictable units.
Afficher le fichier Open project: fluentscheduler/FluentScheduler

Méthodes publiques

Méthode Description
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

Method Details

Between() public static méthode

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).
Résultat ITimeRestrictableUnit

WeekdaysOnly() public static méthode

Runs the job only on weekdays. The schedule being affected
public static WeekdaysOnly ( this unit ) : IDayRestrictableUnit
unit this
Résultat IDayRestrictableUnit