TypeMapping.GetOrCreateProxyTypeMapping<TTypeMapGroup> Method

Definition

Returns the associated type map generated for the current application.

public:
generic <typename TTypeMapGroup>
 static System::Collections::Generic::IReadOnlyDictionary<Type ^, Type ^> ^ GetOrCreateProxyTypeMapping();
[System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("Interop types may be removed by trimming")]
public static System.Collections.Generic.IReadOnlyDictionary<Type,Type> GetOrCreateProxyTypeMapping<TTypeMapGroup>();
[<System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("Interop types may be removed by trimming")>]
static member GetOrCreateProxyTypeMapping : unit -> System.Collections.Generic.IReadOnlyDictionary<Type, Type>
Public Shared Function GetOrCreateProxyTypeMapping(Of TTypeMapGroup) () As IReadOnlyDictionary(Of Type, Type)

Type Parameters

TTypeMapGroup

The type of the type map group.

Returns

The requested type map.

Attributes

Remarks

Call sites are treated as an intrinsic by the trimmer and are implemented inline.

Applies to