C# Class Xigadee.ScheduleHelper

This static class is used to set the context schedule.
Datei anzeigen Open project: xigadee/Microservice

Public Methods

Method 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 method

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.
return void

SetNextPollTime() public static method

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.
return void