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)
31if (!_environmentSettings.Host.FileSystem.DirectoryExists(installPath)) 33_environmentSettings.Host.FileSystem.CreateDirectory(installPath); 54if (!_environmentSettings.Host.FileSystem.DirectoryExists(installPath)) 56_environmentSettings.Host.FileSystem.CreateDirectory(installPath); 105return NuGetManagedTemplatePackage.Deserialize(_environmentSettings, this, provider, data.MountPointUri, data.Details); 238_environmentSettings, 346_environmentSettings.Host.FileSystem.FileDelete(templatePackage.MountPointUri); 391return _environmentSettings.Host.FileSystem.FileExists(installRequest.PackageIdentifier); 410if (!installRequest.Force && _environmentSettings.Host.FileSystem.FileExists(targetPackageLocation)) 418_environmentSettings.Host.FileSystem.FileCopy(installRequest.PackageIdentifier, targetPackageLocation, overwrite: installRequest.Force); 432using Stream inputStream = _environmentSettings.Host.FileSystem.OpenRead(packageLocation);