Table of Contents

Method TryGet

Namespace
AvroSharp.Serialization
Assembly
AvroSharp.dll

TryGet<T>(out AvroTypeInfo<T>?)

Gets a type's registration, if it has one.

public static bool TryGet<T>(out AvroTypeInfo<T>? info)

Parameters

info AvroTypeInfo<T>

The registration.

Returns

bool

Type Parameters

T

The type.

TryGet(Type, out AvroTypeInfo?)

Gets the registration of type, if it has one.

public static bool TryGet(Type type, out AvroTypeInfo? info)

Parameters

type Type

The type.

info AvroTypeInfo

The registration.

Returns

bool