Hi,
Suppose that I want to implement custom IAppointment, IRecurrenceRule, IExceptionOccurrence. (for database purpose for sample like explain in your documentation). I don't want inherited from telerik class but implement myself interfaces.
If I want to add feature to export schedule in ics format, I can use your helper to do that like this :
AppointmentCalendarExporter exporter =
new
AppointmentCalendarExporter();
exporter.Export(
this
.Appointments.OfType<IAppointment>(), txtWriter);
But your exporter make assumption on IExceptionOccurence and try to cast it in telerik class, and in my case it raise an exception :
"Impossible d'effectuer un cast d'un objet de type 'CustomExceptionOccurenceModel' en type 'Telerik.Windows.Controls.ScheduleView.ExceptionOccurrence'."
This behaviour is not really in phase with Appointment and RecurrenceRule, the helper don't suppose that IAppointment and IRecurrenceRule are telerik class. With do you have exception for IExceptionOccurrence ?
Regards
Luc