ClassComplexResourceIdMapper
Provides an abstract base class for complex resource identifier mappers that can create and manage complex objects containing resource ID properties.
Definition
Namespace:Telerik.WinControls.UI.Scheduler
Assembly:Telerik.WinControls.Scheduler.dll
Syntax:
public abstract class ComplexResourceIdMapper : ComplexResourceIdMapperBase
Inheritance: objectResourceIdMapperComplexResourceIdMapperBaseComplexResourceIdMapper
Derived Classes:
Inherited Members
Constructors
ComplexResourceIdMapper(PropertyDescriptor)
Initializes a new instance of the ComplexResourceIdMapper class with the specified resource ID property descriptor.
Declaration
public ComplexResourceIdMapper(PropertyDescriptor resourceIdDescriptor)
Parameters
resourceIdDescriptor
The 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.
AddResourceIdCore(object)
Adds the created resource ID object to the underlying collection.
Declaration
protected abstract void AddResourceIdCore(object resourceIdObject)
Parameters
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
A new object instance for holding the resource identifier, or null if creation failed.