Table of Contents

Class GeneratorContext

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

Context for generator execution containing manifest and compilation information.

public sealed class GeneratorContext
Inheritance
GeneratorContext
Inherited Members

Properties

CancellationToken

Gets the cancellation token for the generator execution.

public required CancellationToken CancellationToken { get; init; }

Property Value

CancellationToken

Compilation

Gets the compilation context.

public required Compilation Compilation { get; init; }

Property Value

Compilation

Manifest

Gets the domain manifest being processed.

public required DomainManifest Manifest { get; init; }

Property Value

DomainManifest

Properties

Gets custom properties for generator configuration.

public Dictionary<string, string> Properties { get; init; }

Property Value

Dictionary<string, string>