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

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

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

Метод Описание
Event ( ) : System

Constructs an Event object, with an iCalObject (usually an iCalendar object) as its parent.

IsActive ( ) : bool

Determines whether or not the Event is actively displayed as an upcoming or occurred event.

OccursAt ( IDateTime DateTime ) : bool

Use this method to determine if an event begins at a given date and time.

OccursOn ( IDateTime DateTime ) : bool

Use this method to determine if an event occurs on a given date. This event should be called only after the Evaluate method has calculated the dates for which this event occurs.

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

Метод Описание
OnDeserialized ( StreamingContext context ) : void
OnDeserializing ( StreamingContext context ) : void

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

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

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

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

Constructs an Event object, with an iCalObject (usually an iCalendar object) as its parent.
public Event ( ) : System
Результат System

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

Determines whether or not the Event is actively displayed as an upcoming or occurred event.
public IsActive ( ) : bool
Результат bool

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

Use this method to determine if an event begins at a given date and time.
public OccursAt ( IDateTime DateTime ) : bool
DateTime IDateTime The date and time to test.
Результат bool

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

Use this method to determine if an event occurs on a given date. This event should be called only after the Evaluate method has calculated the dates for which this event occurs.
public OccursOn ( IDateTime DateTime ) : bool
DateTime IDateTime The date to test.
Результат bool

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

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

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

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