2 implementations of IInstaller
Microsoft.TemplateEngine.Edge (2)
Installers\Folder\FolderInstaller.cs (1)
10internal class FolderInstaller : IInstaller, ISerializableInstaller
Installers\NuGet\NuGetInstaller.cs (1)
13internal class NuGetInstaller : IInstaller, ISerializableInstaller
44 references to IInstaller
Microsoft.TemplateEngine.Abstractions (25)
Installer\CheckUpdateResult.cs (1)
9/// Represents the result of checking the latest version of template package using <see cref="IInstaller.GetLatestVersionAsync"/>.
Installer\IInstallerFactory.cs (3)
18/// Creates the <see cref="IInstaller"/> managed by this factory. 22/// <returns>created <see cref="IInstaller"/>.</returns> 23IInstaller CreateInstaller(IEngineEnvironmentSettings settings, string installPath);
Installer\InstallerErrorCode.cs (1)
7/// Defines possible error codes for <see cref="IInstaller"/> operations.
Installer\InstallerOperationResult.cs (1)
9/// Represents <see cref="IInstaller"/> operation result.
Installer\InstallRequest.cs (3)
7/// The template package installation request to be processed by <see cref="IInstaller.InstallAsync"/>. 33/// This can be null, but if multiple installers return <c>true</c> from <see cref="IInstaller.CanInstallAsync"/> 39/// The identifier for template package to be installed. The format of identifier is defined by <see cref="IInstaller"/> implementation.
Installer\InstallResult.cs (2)
9/// Represents the result of template package installation using <see cref="IInstaller.InstallAsync"/>. 28/// <see cref="InstallRequest"/> processed by <see cref="IInstaller.InstallAsync"/> operation.
Installer\TemplatePackageData.cs (1)
31/// The ID of <see cref="IInstaller"/> that installed the template package. Applicable for <see cref="IManagedTemplatePackage"/> only.
Installer\UninstallResult.cs (1)
9/// Represents the result of template package uninstallation using <see cref="IInstaller.UninstallAsync"/>.
Installer\UpdateRequest.cs (1)
9/// The template package update request to be processed by <see cref="IInstaller.UpdateAsync"/>.
Installer\UpdateResult.cs (2)
9/// Represents the result of template package update using <see cref="IInstaller.UpdateAsync"/>. 35/// <see cref="UpdateRequest"/> processed by <see cref="IInstaller.UpdateAsync"/> operation.
TemplatePackage\IManagedTemplatePackage.cs (4)
23/// This can be NuGet PackageId, path to .nupkg, folder name, depends on <see cref="IInstaller"/> implementation. 28/// Gets <see cref="IInstaller"/> that installed the template package. 31IInstaller Installer { get; } 51/// Gets additional details about template package. The details depend on <see cref="IInstaller"/> implementation.
TemplatePackage\IManagedTemplatePackageProvider.cs (5)
13/// The <see cref="IManagedTemplatePackageProvider"/> keeps track of template packages managed by the provider. The actual installation is done by <see cref="IInstaller"/> implementations. 43/// All <see cref="IInstaller"/>s are considered via <see cref="IInstaller.CanInstallAsync(InstallRequest, CancellationToken)"/> and if only 1 <see cref="IInstaller"/> 44/// returns <see langword="true" />. <see cref="IInstaller.InstallAsync(InstallRequest, IManagedTemplatePackageProvider, CancellationToken)"/> is executed and result is returned.
Microsoft.TemplateEngine.Edge (19)
BuiltInManagedProvider\GlobalSettingsTemplatePackageProvider.cs (11)
16private readonly Dictionary<Guid, IInstaller> _installersByGuid = new Dictionary<Guid, IInstaller>(); 17private readonly Dictionary<string, IInstaller> _installersByName = new Dictionary<string, IInstaller>(); 34var installer = installerFactory.CreateInstaller(settings, packagesFolder); 59if (_installersByGuid.TryGetValue(entry.InstallerId, out var installer)) 127var installersThatCanInstall = new List<IInstaller>(); 128foreach (var install in _installersByName.Values) 152IInstaller installer = installersThatCanInstall[0]; 258private async Task<(InstallerErrorCode, string)> EnsureInstallPrerequisites(List<TemplatePackageData> packagesInSettings, string identifier, string? version, IInstaller installer, CancellationToken cancellationToken, bool update = false, bool forceUpdate = false) 305private async Task<InstallResult> InstallAsync(List<TemplatePackageData> packages, InstallRequest installRequest, IInstaller installer, CancellationToken cancellationToken)
Installers\Folder\FolderInstallerFactory.cs (1)
17IInstaller IInstallerFactory.CreateInstaller(IEngineEnvironmentSettings settings, string installPath)
Installers\Folder\FolderManagedTemplatePackage.cs (2)
18public FolderManagedTemplatePackage(IEngineEnvironmentSettings settings, IInstaller installer, IManagedTemplatePackageProvider provider, string mountPointUri, DateTime lastChangeTime) 36public IInstaller Installer { get; }
Installers\NuGet\NuGetInstallerFactory.cs (1)
17IInstaller IInstallerFactory.CreateInstaller(IEngineEnvironmentSettings settings, string installPath)
Installers\NuGet\NuGetManagedTemplatePackage.cs (4)
27IInstaller installer, 57IInstaller installer, 93public IInstaller Installer { get; } 160IInstaller installer,