Class
TypeRegister

Definition

Namespace:Telerik.Maui.Controls.Compatibility.Common.Android

Assembly:Telerik.Maui.Controls.Compatibility.dll

Syntax:

cs-api-definition
public class TypeRegister : TypeRegister<Object>

Inheritance: objectTypeRegister<Object>TypeRegister

Inherited Members TypeRegister<Object>.Register(Type, Type, ITypeConverter<Object>)TypeRegister<Object>.Register<O, N>()

Methods

GetNativeObjectCore(object)

When overridden in a derived class, gets the platform-specific representation of the object.

Declaration

cs-api-definition
protected override Object GetNativeObjectCore(object value)

Parameters

value

object

The object to convert.

Returns

Object

The platform-specific representation.

Overrides TypeRegister<Object>.GetNativeObjectCore(object)

GetNativeTypeCore(Type)

When overridden in a derived class, gets the platform-specific type for the specified type.

Declaration

cs-api-definition
protected override Type GetNativeTypeCore(Type type)

Parameters

type

Type

The source type.

Returns

Type

The platform-specific type.

Overrides TypeRegister<Object>.GetNativeTypeCore(Type)

GetObjectCore(Object, Type, object)

When overridden in a derived class, gets the object representation from the platform-specific value.

Declaration

cs-api-definition
protected override object GetObjectCore(Object value, Type clrType, object context)

Parameters

value

Object

The platform-specific value to convert.

clrType

Type

The CLR type to convert to.

context

object

The conversion context.

Returns

object

The converted object.

Overrides TypeRegister<Object>.GetObjectCore(Object, Type, object)

GetTypeConverter(Type, Type)

When overridden in a derived class, gets a type converter for the specified types.

Declaration

cs-api-definition
protected override ITypeConverter<Object> GetTypeConverter(Type type, Type nativeType)

Parameters

type

Type

The source type.

nativeType

Type

The target native type.

Returns

ITypeConverter<Object>

A type converter for the specified types.

Overrides TypeRegister<Object>.GetTypeConverter(Type, Type)