C# Class DDay.iCal.Alarm

Inheritance: CalendarComponent, IAlarm
Afficher le fichier Open project: nachocove/DDay-iCal-Xamarin Class Usage Examples

Méthodes publiques

Méthode Description
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.

Méthodes protégées

Méthode Description
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

Private Methods

Méthode Description
Initialize ( ) : void

Method Details

AddRepeatedItems() protected méthode

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
Résultat void

Alarm() public méthode

public Alarm ( ) : System
Résultat System

GetOccurrences() public méthode

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
Résultat IList

OnDeserializing() protected méthode

protected OnDeserializing ( StreamingContext context ) : void
context System.Runtime.Serialization.StreamingContext
Résultat void

Poll() public méthode

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
Résultat IList