Table of Contents

Class GeneratedCode

Namespace
Refitter.Core
Assembly
Refitter.Core.dll

Represents generated code with a type name and content.

public record GeneratedCode : IEquatable<GeneratedCode>
Inheritance
GeneratedCode
Implements
Inherited Members

Constructors

GeneratedCode(string, string)

Represents generated code with a type name and content.

public GeneratedCode(string TypeName, string Content)

Parameters

TypeName string

The name of the generated type.

Content string

The generated code content.

Properties

Content

The generated code content.

public string Content { get; init; }

Property Value

string

Filename

Gets the filename for the generated code based on the type name.

public string Filename { get; }

Property Value

string

TypeName

The name of the generated type.

public string TypeName { get; init; }

Property Value

string