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
ContentHash
Gets or initializes the hash of the content for change detection.
public string? ContentHash { get; init; }
Property Value
FileName
Gets or initializes the file name (including extension).
public required string FileName { get; init; }
Property Value
GeneratedAt
Gets or initializes the timestamp when this file was generated.
public DateTimeOffset GeneratedAt { get; init; }
Property Value
HintName
Gets or initializes the hint name for the source generator.
public string HintName { get; }