Table of Contents

Method Generate

Namespace
AvroSharp.CodeGen
Assembly
AvroSharp.CodeGen.dll

Generate(IEnumerable<AvroSchema>, CodeGenOptions?)

Generates one source file per named type reachable from schemas.

public static IReadOnlyList<GeneratedSource> Generate(IEnumerable<AvroSchema> schemas, CodeGenOptions? options = null)

Parameters

schemas IEnumerable<AvroSchema>

The schemas. A named type reachable from several of them is generated once.

options CodeGenOptions

Options, or null for Default.

Returns

IReadOnlyList<GeneratedSource>