Table of Contents

Constructor GeneratedSource

Namespace
AvroSharp.CodeGen
Assembly
AvroSharp.CodeGen.dll

GeneratedSource(string, string)

Initializes a new instance of the GeneratedSource class.

public GeneratedSource(string hintName, string text)

Parameters

hintName string

The file name, unique within one generation run.

text string

The C# source.

GeneratedSource(string, string, IReadOnlyList<string>)

Initializes a new instance of the GeneratedSource class, with notes about the generated code.

public GeneratedSource(string hintName, string text, IReadOnlyList<string> notes)

Parameters

hintName string

The file name, unique within one generation run.

text string

The C# source.

notes IReadOnlyList<string>

Things a user may not expect, such as a property renamed to avoid a clash.