Class
ComplexResourceIdMapperBase

Provides a base class for complex resource identifier mappers that work with collections of complex objects containing resource ID properties.

Definition

Namespace:Telerik.WinControls.UI.Scheduler

Assembly:Telerik.WinControls.Scheduler.dll

Syntax:

cs-api-definition
public abstract class ComplexResourceIdMapperBase : ResourceIdMapper

Inheritance: objectResourceIdMapperComplexResourceIdMapperBase

Derived Classes: ComplexResourceIdMapperExistingResourceIdMapper

Inherited Members ResourceIdMapper.EventIdTypeResourceIdMapper.GetResourceId(EventId, Type)ResourceIdMapper.GetEventId(object)ResourceIdMapper.ClearResourceIds()

Constructors

ComplexResourceIdMapperBase(PropertyDescriptor)

Initializes a new instance of the ComplexResourceIdMapperBase class with the specified resource ID property descriptor.

Declaration

cs-api-definition
public ComplexResourceIdMapperBase(PropertyDescriptor resourceIdDescriptor)

Parameters

resourceIdDescriptor

PropertyDescriptor

The 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

cs-api-definition
protected PropertyDescriptor ResourceIdDescriptor { get; }

Property Value

PropertyDescriptor

Methods

AddResourceId(EventId)

Adds a resource identifier to the collection, handling the end of new item operations if the collection supports ICancelAddNew.

Declaration

cs-api-definition
public override void AddResourceId(EventId eventId)

Parameters

eventId

EventId

The EventId to add to the resource collection.

Overrides ResourceIdMapper.AddResourceId(EventId)

ReadResources(IEvent)

Reads all resource identifiers from the complex objects in the collection and populates the appointment's resource ID collection.

Declaration

cs-api-definition
public override void ReadResources(IEvent ev)

Parameters

ev

IEvent

The IEvent appointment to populate with resource identifiers.

Overrides ResourceIdMapper.ReadResources(IEvent)

SetResourceList(object)

Sets the resource collection that this mapper will operate on, initializing the necessary interfaces for collection manipulation.

Declaration

cs-api-definition
public override void SetResourceList(object resourceList)

Parameters

resourceList

object

The resource collection to be managed by this mapper.

Overrides ResourceIdMapper.SetResourceList(object)