C# Class Castle.Components.Scheduler.DailyPeriodicWindowTrigger

something goes here...
Inheritance: PeriodicTrigger
Afficher le fichier Open project: codereflection/Castle.Components.Scheduler Class Usage Examples

Méthodes publiques

Méthode Description
Clone ( ) : Trigger

Makes a deep clone of the trigger

DailyPeriodicWindowTrigger ( System.DateTime startDateUtc, System.DateTime endDateUtc, DailyFireWindow dailyFireWindow, System.TimeSpan period, int jobExecutionCount ) : System.Collections.Generic

Private Methods

Méthode Description
CannotExecuteAgain ( ) : bool
EndTimeHasPassed ( System.DateTime timeBasisUtc ) : bool
ExecuteAction ( ) : TriggerScheduleAction
InDailyFireWindow ( System.DateTime timeBasisUtc ) : bool
ScheduleSuggestedAction ( TriggerScheduleAction action, System.DateTime timeBasisUtc ) : TriggerScheduleAction
SkipAction ( ) : TriggerScheduleAction
StartTimeHasPassed ( System.DateTime timeBasisUtc ) : bool
StopAction ( ) : TriggerScheduleAction

Method Details

Clone() public méthode

Makes a deep clone of the trigger
public Clone ( ) : Trigger
Résultat Trigger

DailyPeriodicWindowTrigger() public méthode

public DailyPeriodicWindowTrigger ( System.DateTime startDateUtc, System.DateTime endDateUtc, DailyFireWindow dailyFireWindow, System.TimeSpan period, int jobExecutionCount ) : System.Collections.Generic
startDateUtc System.DateTime The UTC date for the trigger to start firing
endDateUtc System.DateTime The UTC date for the trigger to stop firing
dailyFireWindow DailyFireWindow Specifies the UTC hours when the trigger should fire
period System.TimeSpan The recurrence period of the trigger. /// If the period is set to null, the trigger will fire exactly once /// and never recur.
jobExecutionCount int The number of job executions remaining before the trigger /// stops firing. This number is decremented each time the job executes /// until it reaches zero. If the count is set to null, the number of times the job /// may execute is unlimited.
Résultat System.Collections.Generic