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