ClassExistingResourceIdMapper
Provides a resource identifier mapper that works with existing resource objects, mapping resource IDs to pre-existing resources in a collection.
Definition
Namespace:Telerik.WinControls.UI.Scheduler
Assembly:Telerik.WinControls.Scheduler.dll
Syntax:
public class ExistingResourceIdMapper : ComplexResourceIdMapperBase
Inheritance: objectResourceIdMapperComplexResourceIdMapperBaseExistingResourceIdMapper
Inherited Members
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
existingResourcesList
The list of existing resources to search for matching resource IDs.
resourceIdDescriptor
The 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.
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
resourceList
The target resource list to be managed by this mapper.
Overrides