-
Notifications
You must be signed in to change notification settings - Fork 397
[Epic] Components #2942
Copy link
Copy link
Open
Labels
gathering-feedbackThe issue requires feedback in order to be planned, please comment if the feature is useful for youThe issue requires feedback in order to be planned, please comment if the feature is useful for youtriagedThe issue was evaluated by the triage team, placed on correct area, next action defined.The issue was evaluated by the triage team, placed on correct area, next action defined.
Milestone
Metadata
Metadata
Assignees
Labels
gathering-feedbackThe issue requires feedback in order to be planned, please comment if the feature is useful for youThe issue requires feedback in order to be planned, please comment if the feature is useful for youtriagedThe issue was evaluated by the triage team, placed on correct area, next action defined.The issue was evaluated by the triage team, placed on correct area, next action defined.
Type
Fields
Give feedbackNo fields configured for issues without a type.
Audience: authors (advanced)
Background
Allow custom extensibility scenarios for the templates.
The template engine already considers extensibility by using components. Component is a class implementing
IIdentifiedComponentinterface. Template engine is managing components inComponentManagerclass.At the moment the only way to install additional components is from code (adding components via
ITemplateEngineHostor adding components viaIEngineEnvironmentSettings.ComponentManager.To allow extensibility scenario:
Scanner.ScanForComponentsmethod. Detected components are not saved to settings.dotnet new.Already defined components suitable for extensibility for template authoring:
IGenerator)IMacroand its derived classes)ITemplateConstraintFactory)IPostActionProcessorMissing parts:
Justification
Related issues:
IPostActionProcessorcomponent to Abstractions Make dotnet new post actions extendable via components #3225