Table of Contents

Class GeneratedFile

Namespace
JD.Domain.Generators.Core
Assembly
JD.Domain.Generators.Core.dll

Represents a generated file with name and content.

public sealed class GeneratedFile
Inheritance
GeneratedFile
Inherited Members

Properties

Content

Gets or initializes the file content.

public required string Content { get; init; }

Property Value

string

ContentHash

Gets or initializes the hash of the content for change detection.

public string? ContentHash { get; init; }

Property Value

string

FileName

Gets or initializes the file name (including extension).

public required string FileName { get; init; }

Property Value

string

GeneratedAt

Gets or initializes the timestamp when this file was generated.

public DateTimeOffset GeneratedAt { get; init; }

Property Value

DateTimeOffset

HintName

Gets or initializes the hint name for the source generator.

public string HintName { get; }

Property Value

string