ClassListResourceIdMapper
Provides a resource identifier mapper that works with IList collections and uses constructor information to create new resource objects.
Definition
Namespace:Telerik.WinControls.UI.Scheduler
Assembly:Telerik.WinControls.Scheduler.dll
Syntax:
public class ListResourceIdMapper : ComplexResourceIdMapper
Inheritance: objectResourceIdMapperComplexResourceIdMapperBaseComplexResourceIdMapperListResourceIdMapper
Inherited Members
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
constructorInfo
The ConstructorInfo used to create new resource objects.
resourceIdDescriptor
The 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
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
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
resourceList
The resource list to be managed by this mapper.
Overrides