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