Class ListResourceIdMapper
Provides a resource identifier mapper that works with System.Collections.IList collections and uses constructor information to create new resource objects.
Inheritance
Inherited Members
Namespace: Telerik.WinControls.UI.Scheduler
Assembly: Telerik.WinControls.Scheduler.dll
Syntax
public class ListResourceIdMapper : ComplexResourceIdMapper
Constructors
ListResourceIdMapper(ConstructorInfo, PropertyDescriptor)
Initializes a new instance of the ListResourceIdMapper class with the specified constructor and resource ID property descriptor.
Declaration
public ListResourceIdMapper(ConstructorInfo constructorInfo, PropertyDescriptor resourceIdDescriptor)
Parameters
System.Reflection.ConstructorInfo
constructorInfo
The System.Reflection.ConstructorInfo used to create new resource objects. |
System.ComponentModel.PropertyDescriptor
resourceIdDescriptor
The System.ComponentModel.PropertyDescriptor that describes the resource ID property on the complex objects. |
Methods
AddResourceIdCore(Object)
Adds the created resource ID object to the underlying list.
Declaration
protected override void AddResourceIdCore(object resourceIdObject)
Parameters
System.Object
resourceIdObject
The resource ID object to add to the list. |
Overrides
ClearResourceIds()
Removes all resource identifiers from the underlying list.
Declaration
public override void ClearResourceIds()
Overrides
CreateResourceIdCore()
Creates a new resource ID object using the provided constructor information.
Declaration
protected override object CreateResourceIdCore()
Returns
System.Object
A new resource ID object instance, or null if the constructor is not available. |
Overrides
SetResourceList(Object)
Sets the resource list and initializes the list interface for managing resource objects.
Declaration
public override void SetResourceList(object resourceList)
Parameters
System.Object
resourceList
The resource list to be managed by this mapper. |