New to Telerik UI for WinForms? Start a free 30-day trial

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:

C#
public interface IExceptionMapperFactory

Methods

Selects a mapper from the runtime shape of an exception collection.

C#
IExceptionMapper GetExceptionMapper(object dataSourceItem)
Parameters:dataSourceItemobject

The collection that stores the master event's recurrence exceptions.

Returns:

IExceptionMapper

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 Add and Remove methods only when they exist. Use a mutable collection compatible with the selected mapper.

In this article
DefinitionMethodsGetExceptionMapper(object)
Not finding the help you need?
Contact Support