Class ComplexResourceIdMapper
Provides an abstract base class for complex resource identifier mappers that can create and manage complex objects containing resource ID properties.
Inherited Members
Namespace: Telerik.WinControls.UI.Scheduler
Assembly: Telerik.WinControls.Scheduler.dll
Syntax
public abstract class ComplexResourceIdMapper : ComplexResourceIdMapperBase
Constructors
ComplexResourceIdMapper(PropertyDescriptor)
Initializes a new instance of the ComplexResourceIdMapper class with the specified resource ID property descriptor.
Declaration
public ComplexResourceIdMapper(PropertyDescriptor resourceIdDescriptor)
Parameters
|
System.ComponentModel.PropertyDescriptor
resourceIdDescriptor
The System.ComponentModel.PropertyDescriptor that describes the resource ID property on the complex objects. |
Methods
AddResourceId(EventId)
Adds a resource identifier by creating a new complex object, setting its resource ID property, and adding it to the collection.
Declaration
public override void AddResourceId(EventId eventId)
Parameters
|
EventId
eventId
The EventId to add to the resource collection. |
Overrides
AddResourceIdCore(Object)
Adds the created resource ID object to the underlying collection.
Declaration
protected abstract void AddResourceIdCore(object resourceIdObject)
Parameters
|
System.Object
resourceIdObject
The resource ID object to add to the collection. |
CreateResourceIdCore()
Creates a new resource ID object instance that will hold the resource identifier value.
Declaration
protected abstract object CreateResourceIdCore()
Returns
|
System.Object
A new object instance for holding the resource identifier, or null if creation failed. |