Table of Contents

Method Parse

Namespace
AvroSharp.CodeGen
Assembly
AvroSharp.CodeGen.dll

Parse(IEnumerable<(string Path, string Json)>, CancellationToken)

Parses schema files together.

public static SchemaFileSet Parse(IEnumerable<(string Path, string Json)> files, CancellationToken cancellationToken = default)

Parameters

files IEnumerable<(string Path, string Json)>

The files: a path, which identifies the file in errors, and its JSON.

cancellationToken CancellationToken

A token to cancel the parsing.

Returns

SchemaFileSet