C# Класс Yea.Scheduler.Model.WeekUnit

Показать файл Открыть проект

Private Properties

Свойство Тип Описание

Открытые методы

Метод Описание
At ( int hours, int minutes ) : void

Schedules the specified task to run at the hour and minute specified. If the hour and minute have passed, the task will execute the next scheduled week.

On ( DayOfWeek day ) : WeeklyDayOfWeekUnit

Schedules the specified task to run on the day specified. If the day has passed, the task will execute the next scheduled week.

WeekUnit ( Schedule schedule, int duration ) : System

Описание методов

At() публичный Метод

Schedules the specified task to run at the hour and minute specified. If the hour and minute have passed, the task will execute the next scheduled week.
public At ( int hours, int minutes ) : void
hours int 0-23: Represents the hour of the day
minutes int 0-59: Represents the minute of the day
Результат void

On() публичный Метод

Schedules the specified task to run on the day specified. If the day has passed, the task will execute the next scheduled week.
public On ( DayOfWeek day ) : WeeklyDayOfWeekUnit
day DayOfWeek Day of week to run the task
Результат WeeklyDayOfWeekUnit

WeekUnit() публичный Метод

public WeekUnit ( Schedule schedule, int duration ) : System
schedule Schedule
duration int
Результат System