ClassSchedulerICalendarImporter
Import ISchedulerData from ICalendar format.
Definition
Namespace:Telerik.WinControls.UI.Scheduler.ICalendar
Assembly:Telerik.WinControls.Scheduler.dll
Syntax:
public class SchedulerICalendarImporter : ISchedulerImporter
Inheritance: objectSchedulerICalendarImporter
Implements:
Constructors
SchedulerICalendarImporter()
Initializes a new instance of the SchedulerICalendarImporter class.
Declaration
public SchedulerICalendarImporter()
SchedulerICalendarImporter(IAppointmentFactory)
Initializes a new instance of the SchedulerICalendarImporter class.
Declaration
public SchedulerICalendarImporter(IAppointmentFactory appointmentFactory)
Parameters
appointmentFactory
The appointment factory.
SchedulerICalendarImporter(bool)
Initializes a new instance of the SchedulerICalendarImporter class.
Declaration
public SchedulerICalendarImporter(bool ignoreParseErrors)
Parameters
ignoreParseErrors
If set to true ignore appointment that can not parse.
SchedulerICalendarImporter(bool, IAppointmentFactory)
Initializes a new instance of the SchedulerICalendarImporter class.
Declaration
public SchedulerICalendarImporter(bool ignoreParseErrors, IAppointmentFactory appointmentFactory)
Parameters
ignoreParseErrors
if set to true ignore appointment that can not parse.
appointmentFactory
The appointment factory.
Properties
Methods
ApplyAdditionalData(IEvent, CalObject)
Writes the additional data for appointment.
ApplyAppointmentData(IEvent, CalObject, IDictionary<string, TimeZoneInfo>)
Sets the appointment data.
Declaration
protected virtual void ApplyAppointmentData(IEvent appointment, CalObject calObject, IDictionary<string, TimeZoneInfo> timeZones)
Parameters
appointment
The appointment.
calObject
The cal object.
timeZones
IDictionary<string, TimeZoneInfo>
The time zones.
Exceptions
CalendarParseException.
GetAppointments(CalObject)
Gets the appointments from an CalObject instance.
Declaration
public virtual IEnumerable<IEvent> GetAppointments(CalObject calendar)
Parameters
calendar
Returns
GetAppointments(CalObject, ICollection<IEvent>)
Gets the parsed appointments from CalObject object and stores them into the specified collection.
Declaration
protected virtual void GetAppointments(CalObject calendar, ICollection<IEvent> collection)
Parameters
calendar
collection
Exceptions
CalendarParseException.
Import(ISchedulerData, Stream)
Imports iCalendar data form a stream into the specified ISchedulerData implementation.
Declaration
public virtual void Import(ISchedulerData data, Stream stream)
Parameters
data
stream
Implements
Import(ISchedulerData, TextReader)
Imports iCalendar data using the specified TextReader instance into the specified ISchedulerData implementation.
Declaration
public virtual void Import(ISchedulerData data, TextReader textReader)
Parameters
data
textReader
Import(ISchedulerData, string)
Imports iCalendar data from a string into the specified ISchedulerData implementation.
Declaration
public virtual void Import(ISchedulerData data, string str)
Parameters
data
str
Implements