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
infoAvroTypeInfo<T>The registration.
Returns
Type Parameters
TThe type.
TryGet(Type, out AvroTypeInfo?)
Gets the registration of type, if it has one.
public static bool TryGet(Type type, out AvroTypeInfo? info)
Parameters
typeTypeThe type.
infoAvroTypeInfoThe registration.