New to Telerik UI for WinFormsStart a free 30-day trial

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:

C#
public abstract class ComplexResourceIdMapperBase : ResourceIdMapper

Inheritance: objectResourceIdMapperComplexResourceIdMapperBase

Derived Classes: ComplexResourceIdMapperExistingResourceIdMapper

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

Constructors

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

C#
public ComplexResourceIdMapperBase(PropertyDescriptor resourceIdDescriptor)
Parameters:resourceIdDescriptorPropertyDescriptor

The PropertyDescriptor that describes the resource ID property on the complex objects.

Properties

Gets the property descriptor that describes the resource ID property on the complex objects managed by this mapper.

C#
protected PropertyDescriptor ResourceIdDescriptor { get; }

Methods

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

C#
public override void AddResourceId(EventId eventId)
Parameters:eventIdEventId

The EventId to add to the resource collection.

Overrides: ResourceIdMapper.AddResourceId(EventId)

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

C#
public override void ReadResources(IEvent ev)
Parameters:evIEvent

The IEvent appointment to populate with resource identifiers.

Overrides: ResourceIdMapper.ReadResources(IEvent)

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

C#
public override void SetResourceList(object resourceList)
Parameters:resourceListobject

The resource collection to be managed by this mapper.

Overrides: ResourceIdMapper.SetResourceList(object)