ClassSchedulerICalendarExporter
Export ISchedulerData to ICal format.
Definition
Namespace:Telerik.WinControls.UI.Scheduler.ICalendar
Assembly:Telerik.WinControls.Scheduler.dll
Syntax:
public class SchedulerICalendarExporter : ISchedulerExporter
Inheritance: objectSchedulerICalendarExporter
Implements:
Constructors
SchedulerICalendarExporter()
Declaration
public SchedulerICalendarExporter()
Properties
Methods
AppointmentToCalObject(IEvent)
Convert Appointment to list of CalObject.
Declaration
protected virtual IList<CalObject> AppointmentToCalObject(IEvent appointment)
Parameters
appointment
The appointment.
Returns
Exceptions
CalendarParseException.
CreateCalendar(IEnumerable<IEvent>)
Creates a new iCal file.
Declaration
protected virtual CalObject CreateCalendar(IEnumerable<IEvent> appointments)
Parameters
appointments
The appointments to write to the calendar.
Returns
CreateCalendarObject()
Creates the ICalendar VCALENDAR object with default properties.
Export(ISchedulerData)
Exports the specified data.
Declaration
public string Export(ISchedulerData data)
Parameters
data
The data.
Returns
Implements
Export(ISchedulerData, Stream)
Exports the specified data.
Declaration
public void Export(ISchedulerData data, Stream stream)
Parameters
data
The data.
stream
The stream.
Implements
Export(ISchedulerData, TextWriter)
Exports the specified ISchedulerData instance to ICalendar format using the specified TextWriter instance.
Declaration
public void Export(ISchedulerData data, TextWriter textWriter)
Parameters
data
textWriter
WriteAdditionalDataForAppointment(IEvent, CalObject)
Writes the additional data for appointment.