IExceptionMapperFactory
Creates a mapper that lets the scheduler read and update recurrence exceptions in a bound data source.
Definition
Namespace:Telerik.WinControls.UI.Scheduler
Assembly:Telerik.WinControls.Scheduler.dll
Syntax:
public interface IExceptionMapperFactory
Methods
Selects a mapper from the runtime shape of an exception collection.
IExceptionMapper GetExceptionMapper(object dataSourceItem)
The collection that stores the master event's recurrence exceptions.
Returns:A mapper selected for the runtime collection shape, or null when no supported shape or item type can be inferred.
A mapper can be returned for a collection that does not support all required updates. The generic-enumerable path selects TypedListExceptionMapper<T>, which requires ICollection<T>; a non-generic enumerable mapper invokes public
AddandRemovemethods only when they exist. Use a mutable collection compatible with the selected mapper.