Chooses an exception mapper for the collection type used by a scheduler data source.
Definition
Namespace:Telerik.WinControls.UI.Scheduler
Assembly:Telerik.WinControls.Scheduler.dll
Syntax:
public class ExceptionMapperFactory : IExceptionMapperFactory
Inheritance: objectExceptionMapperFactory
Implements:
Constructors
public ExceptionMapperFactory()
Methods
Selects a mapper from the runtime shape of an exception collection.
public 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.
Implements:
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.