10 interfaces inheriting from IIdentifiedComponent
Microsoft.TemplateEngine.Abstractions (8)
Components\ISdkInfoProvider.cs (1)
9public interface ISdkInfoProvider : IIdentifiedComponent
Components\IWorkloadsInfoProvider.cs (1)
9public interface IWorkloadsInfoProvider : IIdentifiedComponent
Constraints\ITemplateConstraintFactory.cs (1)
10public interface ITemplateConstraintFactory : IIdentifiedComponent
IGenerator.cs (1)
14public interface IGenerator : IIdentifiedComponent
Installer\IInstallerFactory.cs (1)
10public interface IInstallerFactory : IIdentifiedComponent
IPrioritizedComponent.cs (1)
10public interface IPrioritizedComponent : IIdentifiedComponent
Mount\IMountPointFactory.cs (1)
11public interface IMountPointFactory : IIdentifiedComponent
TemplatePackage\ITemplatePackageProviderFactory.cs (1)
11public interface ITemplatePackageProviderFactory : IIdentifiedComponent
Microsoft.TemplateEngine.Cli (1)
PostActionProcessors\IPostActionProcessor.cs (1)
11public interface IPostActionProcessor : IIdentifiedComponent
Microsoft.TemplateSearch.Common (1)
Abstractions\ITemplateSearchProviderFactory.cs (1)
12public interface ITemplateSearchProviderFactory : IIdentifiedComponent
1 implementation of IIdentifiedComponent
dotnet (1)
Commands\New\MSBuildEvaluation\MSBuildEvaluator.cs (1)
15internal class MSBuildEvaluator : IIdentifiedComponent
52 references to IIdentifiedComponent
dotnet (1)
Commands\New\NewCommandParser.cs (1)
96var builtIns = new List<(Type InterfaceType, IIdentifiedComponent Instance)>();
Microsoft.TemplateEngine.Abstractions (7)
IComponentManager.cs (6)
7/// Custom composition manager that allows mapping between <see cref="Guid"/> and components that implement <see cref="IIdentifiedComponent"/>. 20/// <param name="id"><see cref="Guid"/> that is defined in <see cref="IIdentifiedComponent.Id"/>.</param> 24where T : class, IIdentifiedComponent; 32where T : class, IIdentifiedComponent; 37/// <param name="type">type that implements <see cref="IIdentifiedComponent"/>.</param> 53void AddComponent(Type interfaceType, IIdentifiedComponent instance);
ITemplateEngineHost.cs (1)
17IReadOnlyList<(Type InterfaceType, IIdentifiedComponent Instance)> BuiltInComponents { get; }
Microsoft.TemplateEngine.Cli (3)
CliTemplateEngineHost.cs (1)
19IReadOnlyList<(Type InterfaceType, IIdentifiedComponent Instance)> builtIns,
Components.cs (2)
11public static IReadOnlyList<(Type Type, IIdentifiedComponent Instance)> AllComponents { get; } = 12new (Type Type, IIdentifiedComponent Instance)[]
Microsoft.TemplateEngine.Edge (30)
BuiltInManagedProvider\GlobalSettingsTemplatePackageProviderFactory.cs (1)
13Guid IIdentifiedComponent.Id => FactoryId;
Components.cs (4)
21public static IReadOnlyList<(Type Type, IIdentifiedComponent Instance)> AllComponents { get; } = 22new (Type Type, IIdentifiedComponent Instance)[] 37public static IReadOnlyList<(Type Type, IIdentifiedComponent Instance)> MandatoryComponents { get; } = 38new (Type Type, IIdentifiedComponent Instance)[]
Components\EnvironmentVariablesBindSource.cs (1)
21Guid IIdentifiedComponent.Id => Guid.Parse("{8420EB0D-2FD7-49A7-966D-0914C86A14E4}");
Components\HostParametersBindSource.cs (1)
21Guid IIdentifiedComponent.Id => Guid.Parse("{63AB8956-DBFA-4DA4-8089-93CC8272D7C5}");
Constraints\HostConstraint.cs (1)
13Guid IIdentifiedComponent.Id { get; } = Guid.Parse("{93721B30-6890-403F-BAE7-5925990865A2}");
Constraints\OSConstraint.cs (1)
19Guid IIdentifiedComponent.Id { get; } = Guid.Parse("{73DE9788-264A-427B-A26F-2CA3911EE424}");
Constraints\SdkVersionConstraintFactory.cs (1)
13Guid IIdentifiedComponent.Id { get; } = Guid.Parse("{4E9721EF-0C02-4C09-A5A4-56C3D29BFC8E}");
Constraints\WorkloadConstraintFactory.cs (1)
16Guid IIdentifiedComponent.Id { get; } = Guid.Parse("{F8BA5B13-7BD6-47C8-838C-66626526817B}");
DefaultTemplateEngineHost.cs (4)
14private static readonly IReadOnlyList<(Type, IIdentifiedComponent)> NoComponents = []; 16private readonly IReadOnlyList<(Type InterfaceType, IIdentifiedComponent Instance)> _hostBuiltInComponents; 22IReadOnlyList<(Type InterfaceType, IIdentifiedComponent Instance)>? builtIns = null, 50public virtual IReadOnlyList<(Type InterfaceType, IIdentifiedComponent Instance)> BuiltInComponents => _hostBuiltInComponents;
Installers\Folder\FolderInstallerFactory.cs (1)
13Guid IIdentifiedComponent.Id => FactoryId;
Installers\NuGet\NuGetInstallerFactory.cs (1)
13Guid IIdentifiedComponent.Id => FactoryId;
Mount\Archive\ZipFileMountPointFactory.cs (1)
15Guid IIdentifiedComponent.Id => FactoryId;
Mount\FileSystem\FileSystemMountPointFactory.cs (1)
13Guid IIdentifiedComponent.Id => FactoryId;
Settings\ComponentManager.cs (8)
68where T : class, IIdentifiedComponent 135where T : class, IIdentifiedComponent 197if (!typeof(IIdentifiedComponent).IsAssignableFrom(type) || type.GetConstructor(Type.EmptyTypes) == null || !type.IsClass) 202IReadOnlyList<Type> interfaceTypesToRegisterFor = type.GetInterfaces().Where(x => x != typeof(IIdentifiedComponent) && typeof(IIdentifiedComponent).IsAssignableFrom(x)).ToList(); 210IIdentifiedComponent instance = (IIdentifiedComponent)Activator.CreateInstance(type); 272public void AddComponent(Type type, IIdentifiedComponent component)
Settings\ScanResult.cs (2)
18IReadOnlyList<(string AssemblyPath, Type InterfaceType, IIdentifiedComponent Instance)> components) 39public IReadOnlyList<(string AssemblyPath, Type InterfaceType, IIdentifiedComponent Instance)> Components { get; }
Settings\TemplatePackageManager.cs (1)
59/// <param name="id"><see cref="Guid"/> from <see cref="IIdentifiedComponent.Id"/> of <see cref="ITemplatePackageProviderFactory"/>.</param>
Microsoft.TemplateEngine.IDE (3)
Bootstrapper.cs (3)
76foreach ((Type Type, IIdentifiedComponent Instance) component in Orchestrator.RunnableProjects.Components.AllComponents) 80foreach ((Type Type, IIdentifiedComponent Instance) component in Components.AllComponents) 92public void AddComponent(Type interfaceType, IIdentifiedComponent component)
Microsoft.TemplateEngine.Utils (5)
DefaultTemplateEngineHost.cs (5)
14private static readonly IReadOnlyList<(Type Type, IIdentifiedComponent Instance)> NoComponents = []; 16private readonly IReadOnlyList<(Type InterfaceType, IIdentifiedComponent Instance)> _hostBuiltInComponents; 29public DefaultTemplateEngineHost(string hostIdentifier, string version, Dictionary<string, string>? defaults, IReadOnlyList<(Type InterfaceType, IIdentifiedComponent Instance)>? builtIns) 39public DefaultTemplateEngineHost(string hostIdentifier, string version, Dictionary<string, string>? defaults, IReadOnlyList<(Type InterfaceType, IIdentifiedComponent Instance)>? builtIns, IReadOnlyList<string>? fallbackHostTemplateConfigNames) 62public virtual IReadOnlyList<(Type InterfaceType, IIdentifiedComponent Instance)> BuiltInComponents => _hostBuiltInComponents;
Microsoft.TemplateSearch.Common (3)
Components.cs (2)
12public static IReadOnlyList<(Type Type, IIdentifiedComponent Instance)> AllComponents { get; } = 13new (Type Type, IIdentifiedComponent Instance)[]
Providers\NuGetMetadataSearchProviderFactory.cs (1)
13Guid IIdentifiedComponent.Id => new Guid("6EA368C4-8A56-444C-91D1-55150B296BF2");