Class SchedulerICalendarImporter
Import ISchedulerData from ICalendar format.
Inheritance
Inherited Members
Namespace: Telerik.WinControls.UI.Scheduler.ICalendar
Assembly: Telerik.WinControls.Scheduler.dll
Syntax
public class SchedulerICalendarImporter : ISchedulerImporter
Constructors
SchedulerICalendarImporter()
Initializes a new instance of the SchedulerICalendarImporter class.
Declaration
public SchedulerICalendarImporter()
SchedulerICalendarImporter(Boolean)
Initializes a new instance of the SchedulerICalendarImporter class.
Declaration
public SchedulerICalendarImporter(bool ignoreParseErrors)
Parameters
System.Boolean
ignoreParseErrors
If set to |
SchedulerICalendarImporter(Boolean, IAppointmentFactory)
Initializes a new instance of the SchedulerICalendarImporter class.
Declaration
public SchedulerICalendarImporter(bool ignoreParseErrors, IAppointmentFactory appointmentFactory)
Parameters
System.Boolean
ignoreParseErrors
if set to |
IAppointmentFactory
appointmentFactory
The appointment factory. |
SchedulerICalendarImporter(IAppointmentFactory)
Initializes a new instance of the SchedulerICalendarImporter class.
Declaration
public SchedulerICalendarImporter(IAppointmentFactory appointmentFactory)
Parameters
IAppointmentFactory
appointmentFactory
The appointment factory. |
Properties
Encoding
Gets or sets the encoding.
Declaration
public Encoding Encoding { get; set; }
Property Value
System.Text.Encoding
The encoding. |
Methods
ApplyAdditionalData(IEvent, CalObject)
Writes the additional data for appointment.
Declaration
protected virtual void ApplyAdditionalData(IEvent appointment, CalObject calObject)
Parameters
IEvent
appointment
The appointment. |
CalObject
calObject
The cal object. |
ApplyAppointmentData(IEvent, CalObject, IDictionary<String, TimeZoneInfo>)
Sets the appointment data.
Declaration
protected virtual void ApplyAppointmentData(IEvent appointment, CalObject calObject, IDictionary<string, TimeZoneInfo> timeZones)
Parameters
IEvent
appointment
The appointment. |
CalObject
calObject
The cal object. |
System.Collections.Generic.IDictionary<System.String, TimeZoneInfo>
timeZones
The time zones. |
Exceptions
CalendarParseException
|
GetAppointments(CalObject)
Gets the appointments from an CalObject instance.
Declaration
public virtual IEnumerable<IEvent> GetAppointments(CalObject calendar)
Parameters
CalObject
calendar
|
Returns
System.Collections.Generic.IEnumerable<IEvent>
|
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
CalObject
calendar
|
System.Collections.Generic.ICollection<IEvent>
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
ISchedulerData
data
|
System.IO.Stream
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
ISchedulerData
data
|
System.IO.TextReader
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
ISchedulerData
data
|
System.String
str
|