CalendarImporterBase
Class
Contains base class for ICalendar import functionality.
Definition
Namespace:Telerik.Windows.Controls.ScheduleView.ICalendar
Assembly:Telerik.Windows.Controls.ScheduleView.dll
Syntax:
C#
public abstract class CalendarImporterBase
Inheritance: objectCalendarImporterBase
Derived Classes:
Constructors
Initializes a new instance of the CalendarImporterBase class.
Methods
Writes the additional data for appointment.
C#
protected abstract IAppointment ApplyAdditionalData(IAppointment appointment, CalObject calObject)
The appointment.
calObjectCalObjectThe cal object.
Returns:Sets the appointment data.
C#
protected virtual IAppointment ApplyAppointmentData(IAppointment appointment, CalObject calObject, IDictionary<string, TimeZoneInfo> timeZones)
The appointment.
calObjectCalObjectThe cal object.
timeZonesIDictionary<string, TimeZoneInfo>The time zones.
Returns: Exceptions:CalendarParseException.
Creates new appointment. It can be overridden with the custom appointment.
C#
protected virtual IAppointment CreateNewAppointment(CalObject vevent)
Imports the specified text reader.
C#
public IEnumerable<IAppointment> Import(TextReader textReader)
The text reader.
Returns:Collection of parsed IAppointment objects.
Exceptions:Can not parse CalObject objects.