2 writes to _environmentSettings
Microsoft.TemplateEngine.Edge (2)
Installers\NuGet\NuGetInstaller.cs (2)
24
_environmentSettings
= settings ?? throw new ArgumentNullException(nameof(settings));
45
_environmentSettings
= settings ?? throw new ArgumentNullException(nameof(settings));
11 references to _environmentSettings
Microsoft.TemplateEngine.Edge (11)
Installers\NuGet\NuGetInstaller.cs (11)
31
if (!
_environmentSettings
.Host.FileSystem.DirectoryExists(installPath))
33
_environmentSettings
.Host.FileSystem.CreateDirectory(installPath);
54
if (!
_environmentSettings
.Host.FileSystem.DirectoryExists(installPath))
56
_environmentSettings
.Host.FileSystem.CreateDirectory(installPath);
105
return NuGetManagedTemplatePackage.Deserialize(
_environmentSettings
, this, provider, data.MountPointUri, data.Details);
238
_environmentSettings
,
346
_environmentSettings
.Host.FileSystem.FileDelete(templatePackage.MountPointUri);
391
return
_environmentSettings
.Host.FileSystem.FileExists(installRequest.PackageIdentifier);
410
if (!installRequest.Force &&
_environmentSettings
.Host.FileSystem.FileExists(targetPackageLocation))
418
_environmentSettings
.Host.FileSystem.FileCopy(installRequest.PackageIdentifier, targetPackageLocation, overwrite: installRequest.Force);
432
using Stream inputStream =
_environmentSettings
.Host.FileSystem.OpenRead(packageLocation);