ClassSimpleResourceIdMapper
Provides a simple resource identifier mapper that works with basic collections containing resource ID values directly.
Definition
Namespace:Telerik.WinControls.UI.Scheduler
Assembly:Telerik.WinControls.Scheduler.dll
Syntax:
public class SimpleResourceIdMapper : ResourceIdMapper
Inheritance: objectResourceIdMapperSimpleResourceIdMapper
Inherited Members
Constructors
SimpleResourceIdMapper(Type)
Initializes a new instance of the SimpleResourceIdMapper class with the specified collection type.
Declaration
public SimpleResourceIdMapper(Type collectionType)
Parameters
collectionType
The type of the collection elements that this mapper will work with.
Methods
AddResourceId(EventId)
Adds a resource identifier to the underlying list, converting the EventId to the appropriate format for the collection type.
ClearResourceIds()
Removes all resource identifiers from the underlying list.
Declaration
public override void ClearResourceIds()
Overrides
ReadResources(IEvent)
Reads all resource identifiers from the underlying list and populates the appointment's resource ID collection.
SetResourceList(object)
Sets the resource list that this mapper will operate on, casting it to an IList interface.
Declaration
public override void SetResourceList(object resourceList)
Parameters
resourceList
The resource list to be managed by this mapper.
Overrides