ClassTypeMappings
Provides type mapping functionality for managing adapters and instance mappings between source and target objects.
Definition
Namespace:Telerik.Maui.Controls.Compatibility.Common
Assembly:Telerik.Maui.Controls.Compatibility.dll
Syntax:
public class TypeMappings
Inheritance: objectTypeMappings
Constructors
TypeMappings()
Initializes a new instance of the TypeMappings class.
Declaration
protected TypeMappings()
Methods
CreateInstance(object, object)
Creates an instance of the target type based on the source item and updates the mapping.
DisposeTargetInstance(object)
Disposes the target instance associated with the specified source instance.
Declaration
public static void DisposeTargetInstance(object sourceInstance)
Parameters
sourceInstance
The source instance whose target should be disposed.
GetAdapter(object)
Gets the adapter associated with the specified source instance.
GetEventArgs(Type, object)
Gets the event arguments converted to the specified target type.
GetTargetInstance(object)
Gets the target instance associated with the specified source instance.
UpdateInstance(object, object)
Updates the instance mapping between the source and target items.