Language

JniRuntime.ReflectionJniValueManager.GetValueMarshalerCore Method

Definition

Overloads

Name Description
GetValueMarshalerCore(Type)

Selects an annotated, built-in, collection, peer, or proxy marshaler.

GetValueMarshalerCore<T>()

Gets a typed marshaler or a cached typed adapter.

GetValueMarshalerCore(Type)

Selects an annotated, built-in, collection, peer, or proxy marshaler.

protected override Java.Interop.JniValueMarshaler GetValueMarshalerCore(Type type);
override this.GetValueMarshalerCore : Type -> Java.Interop.JniValueMarshaler

Parameters

type
Type

The non-null, closed managed type requiring a marshaler.

Returns

The marshaler selected for the managed type.

Remarks

Open generic types are rejected. An annotated marshaler type is instantiated through reflection.

Applies to

GetValueMarshalerCore<T>()

Gets a typed marshaler or a cached typed adapter.

protected override Java.Interop.JniValueMarshaler<T> GetValueMarshalerCore<T>();
override this.GetValueMarshalerCore : unit -> Java.Interop.JniValueMarshaler<'T>

Type Parameters

T

The managed type requiring a typed marshaler.

Returns

The selected JniValueMarshaler<T> or its delegating adapter.

Remarks

A non-generic marshaler can be wrapped when it does not implement the requested generic marshaler type.

Applies to