Class ComplexResourceIdMapperBase
Provides a base class for complex resource identifier mappers that work with collections of complex objects containing resource ID properties.
Inherited Members
Namespace: Telerik.WinControls.UI.Scheduler
Assembly: Telerik.WinControls.Scheduler.dll
Syntax
public abstract class ComplexResourceIdMapperBase : ResourceIdMapper
Constructors
ComplexResourceIdMapperBase(PropertyDescriptor)
Initializes a new instance of the ComplexResourceIdMapperBase class with the specified resource ID property descriptor.
Declaration
public ComplexResourceIdMapperBase(PropertyDescriptor resourceIdDescriptor)
Parameters
|
System.ComponentModel.PropertyDescriptor
resourceIdDescriptor
The System.ComponentModel.PropertyDescriptor that describes the resource ID property on the complex objects. |
Properties
ResourceIdDescriptor
Gets the property descriptor that describes the resource ID property on the complex objects managed by this mapper.
Declaration
protected PropertyDescriptor ResourceIdDescriptor { get; }
Property Value
|
System.ComponentModel.PropertyDescriptor
|
Methods
AddResourceId(EventId)
Adds a resource identifier to the collection, handling the end of new item operations if the collection supports System.ComponentModel.ICancelAddNew.
Declaration
public override void AddResourceId(EventId eventId)
Parameters
|
EventId
eventId
The EventId to add to the resource collection. |
Overrides
ReadResources(IEvent)
Reads all resource identifiers from the complex objects in the collection and populates the appointment's resource ID collection.
Declaration
public override void ReadResources(IEvent ev)
Parameters
|
IEvent
ev
The IEvent appointment to populate with resource identifiers. |
Overrides
SetResourceList(Object)
Sets the resource collection that this mapper will operate on, initializing the necessary interfaces for collection manipulation.
Declaration
public override void SetResourceList(object resourceList)
Parameters
|
System.Object
resourceList
The resource collection to be managed by this mapper. |