IncrementalGeneratorOutputKind Enum
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Represents the various output kinds of an IIncrementalGenerator.
This enumeration supports a bitwise combination of its member values.
[System.Flags]
public enum IncrementalGeneratorOutputKind
[<System.Flags>]
type IncrementalGeneratorOutputKind =
Public Enum IncrementalGeneratorOutputKind
- Inheritance
-
IncrementalGeneratorOutputKind
- Attributes
Fields
Implementation | 4 | An Implementation only source output, registered via RegisterImplementationSourceOutput<TSource>(IncrementalValueProvider<TSource>, Action<SourceProductionContext,TSource>) or RegisterImplementationSourceOutput<TSource>(IncrementalValuesProvider<TSource>, Action<SourceProductionContext,TSource>) |
None | 0 | Represents no output kinds. Can be used when creating a driver to indicate that no outputs should be disabled. |
PostInit | 2 | A post-initialization output, which will be visible to later phases, registered via RegisterPostInitializationOutput(Action<IncrementalGeneratorPostInitializationContext>) |
Source | 1 | A regular source output, registered via RegisterSourceOutput<TSource>(IncrementalValueProvider<TSource>, Action<SourceProductionContext,TSource>) or RegisterSourceOutput<TSource>(IncrementalValuesProvider<TSource>, Action<SourceProductionContext,TSource>) |
Remarks
Can be passed as a bit field when creating a GeneratorDriver to selectively disable outputs.
Applies to
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for