Class
CalendarExporterBase

Export collection of Appointment to ICalendar format.

Definition

Namespace:Telerik.Windows.Controls.ScheduleView.ICalendar

Assembly:Telerik.Windows.Controls.ScheduleView.dll

Syntax:

cs-api-definition
public abstract class CalendarExporterBase

Inheritance: objectCalendarExporterBase

Derived Classes: AppointmentCalendarExporter

Constructors

CalendarExporterBase()

Declaration

cs-api-definition
protected CalendarExporterBase()

Methods

AppointmentToCalObject(IAppointment)

Convert Appointment to list of CalObject.

Declaration

cs-api-definition
protected virtual IList<CalObject> AppointmentToCalObject(IAppointment appointment)

Parameters

appointment

IAppointment

The appointment.

Returns

IList<CalObject>

Exceptions

CalendarParseException

CalendarParseException.

CreateCalendar(IEnumerable<IAppointment>)

Creates a new iCal file.

Declaration

cs-api-definition
protected virtual CalObject CreateCalendar(IEnumerable<IAppointment> appointments)

Parameters

appointments

IEnumerable<IAppointment>

The appointments to write to the calendar.

Returns

CalObject

CreateCalendarObject()

Creates the ICalendar VCALENDAR object with default properties.

Declaration

cs-api-definition
protected virtual CalObject CreateCalendarObject()

Returns

CalObject

Export(IEnumerable<IAppointment>, TextWriter)

Exports the specified appointments to ICalendar format.

Declaration

cs-api-definition
public void Export(IEnumerable<IAppointment> appointments, TextWriter textWriter)

Parameters

appointments

IEnumerable<IAppointment>

The appointments.

textWriter

TextWriter

The text writer.

WriteAdditionalDataForAppointment(IAppointment, CalObject)

Writes the additional data for appointment.

Declaration

cs-api-definition
protected abstract void WriteAdditionalDataForAppointment(IAppointment appointment, CalObject calObject)

Parameters

appointment

IAppointment

The appointment.

calObject

CalObject

The cal object.