C# Класс DDay.iCal.Alarm

Наследование: CalendarComponent, IAlarm
Показать файл Открыть проект Примеры использования класса

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

Метод Описание
Alarm ( ) : System
GetOccurrences ( IRecurringComponent rc, IDateTime FromDate, IDateTime ToDate ) : IList

Gets a list of alarm occurrences for the given recurring component, rc that occur between FromDate and ToDate.

Poll ( IDateTime Start, IDateTime End ) : IList

Polls the Alarm component for alarms that have been triggered since the provided Start date/time. If Start is null, all triggered alarms will be returned.

Защищенные методы

Метод Описание
AddRepeatedItems ( ) : void

Handles the repetitions that occur from the REPEAT and DURATION properties. Each recurrence of the alarm will have its own set of generated repetitions.

OnDeserializing ( StreamingContext context ) : void

Приватные методы

Метод Описание
Initialize ( ) : void

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

AddRepeatedItems() защищенный Метод

Handles the repetitions that occur from the REPEAT and DURATION properties. Each recurrence of the alarm will have its own set of generated repetitions.
protected AddRepeatedItems ( ) : void
Результат void

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

public Alarm ( ) : System
Результат System

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

Gets a list of alarm occurrences for the given recurring component, rc that occur between FromDate and ToDate.
public GetOccurrences ( IRecurringComponent rc, IDateTime FromDate, IDateTime ToDate ) : IList
rc IRecurringComponent
FromDate IDateTime
ToDate IDateTime
Результат IList

OnDeserializing() защищенный Метод

protected OnDeserializing ( StreamingContext context ) : void
context System.Runtime.Serialization.StreamingContext
Результат void

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

Polls the Alarm component for alarms that have been triggered since the provided Start date/time. If Start is null, all triggered alarms will be returned.
public Poll ( IDateTime Start, IDateTime End ) : IList
Start IDateTime The earliest date/time to poll trigerred alarms for.
End IDateTime
Результат IList