CalendarExporterBase
Class
Export collection of Appointment to ICalendar format.
Definition
Namespace:Telerik.Windows.Controls.ScheduleView.ICalendar
Assembly:Telerik.Windows.Controls.ScheduleView.dll
Syntax:
C#
public abstract class CalendarExporterBase
Inheritance: objectCalendarExporterBase
Derived Classes:
Constructors
C#
protected CalendarExporterBase()
Methods
Convert Appointment to list of CalObject.
C#
protected virtual IList<CalObject> AppointmentToCalObject(IAppointment appointment)
The appointment.
Returns: Exceptions:CalendarParseException.
Creates a new iCal file.
C#
protected virtual CalObject CreateCalendar(IEnumerable<IAppointment> appointments)
The appointments to write to the calendar.
Returns:Creates the ICalendar VCALENDAR object with default properties.
Exports the specified appointments to ICalendar format.
C#
public void Export(IEnumerable<IAppointment> appointments, TextWriter textWriter)
The appointments.
textWriterTextWriterThe text writer.
Writes the additional data for appointment.
C#
protected abstract void WriteAdditionalDataForAppointment(IAppointment appointment, CalObject calObject)
The appointment.
calObjectCalObjectThe cal object.