C# Class CodeSoda.Scheduler.Schedule

Represents a Schedule under which a task should be processed
Afficher le fichier Open project: codesoda/Scheduler Class Usage Examples

Méthodes publiques

Méthode Description
At ( System.TimeSpan runat ) : Schedule

Creates a Schedule which runs Daily at a specific time

Every ( int frequency ) : Schedule

Creates a Schedule which runs Periodically after a predefined number of seconds

Every ( int frequency, System.DateTime lastRun ) : Schedule

Creates a Schedule which runs Periodically after a predefined number of seconds

Task ( ) : Schedule

Creates a Schedule which is manually managed by the task itself

Private Methods

Méthode Description
Schedule ( ScheduleType type ) : System

Method Details

At() public static méthode

Creates a Schedule which runs Daily at a specific time
public static At ( System.TimeSpan runat ) : Schedule
runat System.TimeSpan The time at which the schedule should become active
Résultat Schedule

Every() public static méthode

Creates a Schedule which runs Periodically after a predefined number of seconds
public static Every ( int frequency ) : Schedule
frequency int How many seconds should pass before the schedule becomes active
Résultat Schedule

Every() public static méthode

Creates a Schedule which runs Periodically after a predefined number of seconds
public static Every ( int frequency, System.DateTime lastRun ) : Schedule
frequency int How many seconds should pass before the schedule becomes active
lastRun System.DateTime The date and time the task was last run, this will affect when this schedule will start for the first time
Résultat Schedule

Task() public static méthode

Creates a Schedule which is manually managed by the task itself
public static Task ( ) : Schedule
Résultat Schedule