2 interfaces inheriting from ITemplateLocator
Microsoft.TemplateEngine.Abstractions (2)
IScanTemplateInfo.cs (1)
9public interface IScanTemplateInfo : ITemplateMetadata, ITemplateLocator, IValidationInfo
ITemplateLocator.cs (1)
27public interface IExtendedTemplateLocator : ITemplateLocator
1 implementation of ITemplateLocator
Microsoft.TemplateEngine.Orchestrator.RunnableProjects (1)
DirectoryBasedTemplate.Interfaces.cs (1)
15internal abstract partial class DirectoryBasedTemplate : ITemplateMetadata, ITemplateLocator, ITemplateValidationInfo, IValidationInfo
16 references to ITemplateLocator
Microsoft.TemplateEngine.Abstractions (3)
IGenerator.cs (2)
81/// Attempts to load <see cref="ITemplate"/> from the given location <see cref="ITemplateLocator" />. 88Task<ITemplate?> LoadTemplateAsync(IEngineEnvironmentSettings settings, ITemplateLocator config, string? baselineName = null, CancellationToken cancellationToken = default);
IScanTemplateInfo.cs (1)
17/// Gets all host files available for the template. The key is host identifier, the value is a relative path to the host file inside the mount point <see cref="ITemplateLocator.MountPointUri"/>.
Microsoft.TemplateEngine.Orchestrator.RunnableProjects (7)
DirectoryBasedTemplate.Interfaces.cs (3)
19Guid ITemplateLocator.GeneratorId => Generator.Id; 39string ITemplateLocator.MountPointUri => ConfigFile?.MountPoint.MountPointUri ?? throw new InvalidOperationException($"{nameof(ConfigFile)} should be set in order to continue"); 41string ITemplateLocator.ConfigPlace => ConfigFile?.FullPath ?? throw new InvalidOperationException($"{nameof(ConfigFile)} should be set in order to continue");
RunnableProjectConfig.ITemplate.cs (3)
18string ITemplateLocator.MountPointUri => ConfigFile?.MountPoint.MountPointUri ?? throw new InvalidOperationException("Configuration file is not initialized, are you using test constructor?"); 20string ITemplateLocator.ConfigPlace => ConfigFile?.FullPath ?? throw new InvalidOperationException("Configuration file is not initialized, are you using test constructor?"); 44Guid ITemplateLocator.GeneratorId => Generator.Id;
RunnableProjectGenerator.cs (1)
36async Task<ITemplate?> IGenerator.LoadTemplateAsync(IEngineEnvironmentSettings settings, ITemplateLocator templateLocator, string? baselineName, CancellationToken cancellationToken)
Microsoft.TemplateSearch.Common (6)
Abstractions\TemplateSearchData.cs (3)
80Guid ITemplateLocator.GeneratorId => TemplateInfo.GeneratorId; 91string ITemplateLocator.MountPointUri => TemplateInfo.MountPointUri; 93string ITemplateLocator.ConfigPlace => TemplateInfo.ConfigPlace;
TemplateDiscoveryMetadata\BlobStorageTemplateInfo.cs (3)
85string ITemplateLocator.MountPointUri => string.Empty; 99Guid ITemplateLocator.GeneratorId => Guid.Empty; 125string ITemplateLocator.ConfigPlace => string.Empty;