C# 클래스 CodeSoda.Scheduler.Schedule

Represents a Schedule under which a task should be processed
파일 보기 프로젝트 열기: codesoda/Scheduler 1 사용 예제들

공개 메소드들

메소드 설명
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

비공개 메소드들

메소드 설명
Schedule ( ScheduleType type ) : System

메소드 상세

At() 공개 정적인 메소드

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
리턴 Schedule

Every() 공개 정적인 메소드

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
리턴 Schedule

Every() 공개 정적인 메소드

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
리턴 Schedule

Task() 공개 정적인 메소드

Creates a Schedule which is manually managed by the task itself
public static Task ( ) : Schedule
리턴 Schedule