Class CalendarImporterBase
Contains base class for ICalendar import functionality.
Inheritance
Namespace: Telerik.Windows.Controls.ScheduleView.ICalendar
Assembly: Telerik.Windows.Controls.ScheduleView.dll
Syntax
public abstract class CalendarImporterBase : Object
Constructors
CalendarImporterBase(Boolean)
Initializes a new instance of the Calendar
Declaration
protected CalendarImporterBase(bool ignoreParseErrors)
Parameters
System.
|
Methods
ApplyAdditionalData(IAppointment, CalObject)
Writes the additional data for appointment.
Declaration
protected abstract IAppointment ApplyAdditionalData(IAppointment appointment, CalObject calObject)
Parameters
IAppointment
appointment
The appointment. |
Cal The cal object. |
Returns
ApplyAppointmentData(IAppointment, CalObject, IDictionary<String, TimeZoneInfo>)
Sets the appointment data.
Declaration
protected virtual IAppointment ApplyAppointmentData(IAppointment appointment, CalObject calObject, IDictionary<string, TimeZoneInfo> timeZones)
Parameters
IAppointment
appointment
The appointment. |
Cal The cal object. |
System. The time zones. |
Returns
Exceptions
Calendar
|
CreateNewAppointment(CalObject)
Creates new appointment. It can be overridden with the custom appointment.
Declaration
protected virtual IAppointment CreateNewAppointment(CalObject vevent)
Parameters
Cal
|
Returns
CreateNewResource(CalObject)
Creates new resource. It can be overridden with the custom resource.
Declaration
protected virtual IResource CreateNewResource(CalObject vevent)
Parameters
Cal
|
Returns
GetAppointments(CalObject)
Gets the parsed appointments from Cal
Declaration
public virtual IEnumerable<IAppointment> GetAppointments(CalObject calendar)
Parameters
Cal The calendar object. |
Returns
System. List of parsed appointments. |
Exceptions
Calendar
|
Import(TextReader)
Imports the specified text reader.
Declaration
public IEnumerable<IAppointment> Import(TextReader textReader)
Parameters
System. The text reader. |
Returns
System. Collection of parsed IAppointment objects. |
Exceptions
Calendar Can not parse Cal |