Class TypeRegister<P>
Inheritance
System.Object
TypeRegister<P>
Namespace: Telerik.XamarinForms.Common
Assembly: Telerik.XamarinForms.Common.dll
Syntax
public abstract class TypeRegister<P> : Object
Type Parameters
P
|
Constructors
TypeRegister()
Declaration
protected TypeRegister()
Methods
GetNativeObjectCore(Object)
Declaration
protected abstract P GetNativeObjectCore(object value)
Parameters
System.Object
value
|
Returns
P
|
GetNativeTypeCore(Type)
Declaration
protected abstract Type GetNativeTypeCore(Type type)
Parameters
System.Type
type
|
Returns
System.Type
|
GetObjectCore(P, Type, Object)
Declaration
protected abstract object GetObjectCore(P value, Type clrType, object context)
Parameters
P
value
|
System.Type
clrType
|
System.Object
context
|
Returns
System.Object
|
GetTypeConverter(Type, Type)
Declaration
protected abstract ITypeConverter<P> GetTypeConverter(Type type, Type nativeType)
Parameters
System.Type
type
|
System.Type
nativeType
|
Returns
ITypeConverter<P>
|
Register(Type, Type, ITypeConverter<P>)
Declaration
public static void Register(Type sourceType, Type targetType, ITypeConverter<P> converter)
Parameters
System.Type
sourceType
|
System.Type
targetType
|
ITypeConverter<P>
converter
|
Register<O, N>()
Declaration
public static void Register<O, N>()
where N : P
Type Parameters
O
|
N
|