Member group
.ctor
Declaring type: GeneratorReference
Namespace: Raven.CodeAnalysis
Assembly: Raven.CodeAnalysis.dll
Source file: GeneratorReference.cs
Overloads / Variants
.ctor
init(assembly: Assembly) -> ()
Source file: GeneratorReference.cs
Create a reference from an assembly containing source generators.
Parameters
| Name | Type | Description |
|---|---|---|
assembly |
Assembly |
.ctor
init(generator: ISourceGenerator) -> ()
Source file: GeneratorReference.cs
Create a reference from a specific source generator instance.
Parameters
| Name | Type | Description |
|---|---|---|
generator |
ISourceGenerator |
.ctor
init(generatorType: Type) -> ()
Source file: GeneratorReference.cs
Create a reference from a source generator type.
Parameters
| Name | Type | Description |
|---|---|---|
generatorType |
Type |