Table of Contents

Method Register

Namespace
AvroSharp.Serialization
Assembly
AvroSharp.dll

Register<T>(AvroTypeInfo<T>)

Registers a type; generated code calls it. A type registered again keeps its first registration.

public static bool Register<T>(AvroTypeInfo<T> info)

Parameters

info AvroTypeInfo<T>

The type's schema and functions.

Returns

bool

true when this registered the type; false when it was registered already.

Type Parameters

T

The type.