Class SchedulerICalendarExporter
Export ISchedulerData to ICal format.
Inheritance
Inherited Members
Namespace: Telerik.WinControls.UI.Scheduler.ICalendar
Assembly: Telerik.WinControls.Scheduler.dll
Syntax
public class SchedulerICalendarExporter : ISchedulerExporter
Constructors
SchedulerICalendarExporter()
Declaration
public SchedulerICalendarExporter()
Properties
Encoding
Gets or sets the encoding.
Declaration
public Encoding Encoding { get; set; }
Property Value
System.Text.Encoding
The encoding. |
Methods
AppointmentToCalObject(IEvent)
Convert Appointment to list of CalObject.
Declaration
protected virtual IList<CalObject> AppointmentToCalObject(IEvent appointment)
Parameters
IEvent
appointment
The appointment. |
Returns
System.Collections.Generic.IList<CalObject>
|
Exceptions
CalendarParseException
|
CreateCalendar(IEnumerable<IEvent>)
Creates a new iCal file.
Declaration
protected virtual CalObject CreateCalendar(IEnumerable<IEvent> appointments)
Parameters
System.Collections.Generic.IEnumerable<IEvent>
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(ISchedulerData)
Declaration
public string Export(ISchedulerData data)
Parameters
ISchedulerData
data
|
Returns
System.String
|
Implements
Export(ISchedulerData, Stream)
Declaration
public void Export(ISchedulerData data, Stream stream)
Parameters
ISchedulerData
data
|
System.IO.Stream
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
ISchedulerData
data
|
System.IO.TextWriter
textWriter
|
WriteAdditionalDataForAppointment(IEvent, CalObject)
Writes the additional data for appointment.
Declaration
protected virtual void WriteAdditionalDataForAppointment(IEvent appointment, CalObject calObject)
Parameters
IEvent
appointment
The appointment. |
CalObject
calObject
The cal object. |