Class ExistingResourceIdMapper
Provides a resource identifier mapper that works with existing resource objects, mapping resource IDs to pre-existing resources in a collection.
Inherited Members
Namespace: Telerik.WinControls.UI.Scheduler
Assembly: Telerik.WinControls.Scheduler.dll
Syntax
public class ExistingResourceIdMapper : ComplexResourceIdMapperBase
Constructors
ExistingResourceIdMapper(IList, PropertyDescriptor)
Initializes a new instance of the ExistingResourceIdMapper class with the specified existing resources list and resource ID property descriptor.
Declaration
public ExistingResourceIdMapper(IList existingResourcesList, PropertyDescriptor resourceIdDescriptor)
Parameters
System.Collections.IList
existingResourcesList
The list of existing resources to search for matching resource IDs. |
System.ComponentModel.PropertyDescriptor
resourceIdDescriptor
The System.ComponentModel.PropertyDescriptor that describes the resource ID property on the resource objects. |
Methods
AddResourceId(EventId)
Adds a resource identifier by finding the matching existing resource and adding it to the target resource list.
Declaration
public override void AddResourceId(EventId eventId)
Parameters
EventId
eventId
The EventId to find and add to the target resource list. |
Overrides
ClearResourceIds()
Removes all resources from the target resource list.
Declaration
public override void ClearResourceIds()
Overrides
SetResourceList(Object)
Sets the target resource list where matching existing resources will be added.
Declaration
public override void SetResourceList(object resourceList)
Parameters
System.Object
resourceList
The target resource list to be managed by this mapper. |