C# Class Xigadee.ScheduleHelper

This static class is used to set the context schedule.
Afficher le fichier Open project: xigadee/Microservice

Méthodes publiques

Méthode Description
SetNextPollTime ( Xigadee.CommandScheduleInlineContext ctx, DateTime nextUTCTime ) : void

Sets the next poll time.

SetNextPollTime ( Xigadee.CommandScheduleInlineContext ctx, TimeSpan timeSpan ) : void

Sets the next poll time.

Method Details

SetNextPollTime() public static méthode

Sets the next poll time.
public static SetNextPollTime ( Xigadee.CommandScheduleInlineContext ctx, DateTime nextUTCTime ) : void
ctx Xigadee.CommandScheduleInlineContext The scheduler context.
nextUTCTime DateTime The next UTC time to run the schedule.
Résultat void

SetNextPollTime() public static méthode

Sets the next poll time.
public static SetNextPollTime ( Xigadee.CommandScheduleInlineContext ctx, TimeSpan timeSpan ) : void
ctx Xigadee.CommandScheduleInlineContext The scheduler context.
timeSpan TimeSpan The time span before the schedule should run again.
Résultat void