Class
SchedulerICalendarExporter

Export ISchedulerData to ICal format.

Definition

Namespace:Telerik.WinControls.UI.Scheduler.ICalendar

Assembly:Telerik.WinControls.Scheduler.dll

Syntax:

cs-api-definition
public class SchedulerICalendarExporter : ISchedulerExporter

Inheritance: objectSchedulerICalendarExporter

Implements: ISchedulerExporter

Constructors

SchedulerICalendarExporter()

Declaration

cs-api-definition
public SchedulerICalendarExporter()

Properties

Encoding

Gets or sets the encoding.

Declaration

cs-api-definition
public Encoding Encoding { get; set; }

Property Value

Encoding

The encoding.

Methods

AppointmentToCalObject(IEvent)

Convert Appointment to list of CalObject.

Declaration

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

Parameters

appointment

IEvent

The appointment.

Returns

IList<CalObject>

Exceptions

CalendarParseException

CalendarParseException.

CreateCalendar(IEnumerable<IEvent>)

Creates a new iCal file.

Declaration

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

Parameters

appointments

IEnumerable<IEvent>

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(ISchedulerData)

Exports the specified data.

Declaration

cs-api-definition
public string Export(ISchedulerData data)

Parameters

data

ISchedulerData

The data.

Returns

string

Implements ISchedulerExporter.Export(ISchedulerData)

Export(ISchedulerData, Stream)

Exports the specified data.

Declaration

cs-api-definition
public void Export(ISchedulerData data, Stream stream)

Parameters

data

ISchedulerData

The data.

stream

Stream

The stream.

Implements ISchedulerExporter.Export(ISchedulerData, Stream)

Export(ISchedulerData, TextWriter)

Exports the specified ISchedulerData instance to ICalendar format using the specified TextWriter instance.

Declaration

cs-api-definition
public void Export(ISchedulerData data, TextWriter textWriter)

Parameters

data

ISchedulerData

textWriter

TextWriter

WriteAdditionalDataForAppointment(IEvent, CalObject)

Writes the additional data for appointment.

Declaration

cs-api-definition
protected virtual void WriteAdditionalDataForAppointment(IEvent appointment, CalObject calObject)

Parameters

appointment

IEvent

The appointment.

calObject

CalObject

The cal object.