Class NuGetConfigManager
Inheritance
NuGetConfigManager
Assembly: LemonEdge.NuGetManager.dll
Syntax
public class NuGetConfigManager : INuGetConfigManager
Constructors
NuGetConfigManager(INuGetConfigWrapper, ILogger<NuGetConfigManager>)
Declaration
public NuGetConfigManager(INuGetConfigWrapper nuGetConfigWrapper, ILogger<NuGetConfigManager> logger)
Parameters
Properties
Settings
The NuGet.Configuration.ISettings loaded from a nuget.config file
Declaration
public ISettings Settings { get; }
Property Value
Type |
Description |
ISettings |
|
Methods
GetDependencyBehavior()
Gets the NuGet.Resolver.DependencyBehavior from Settings
Default:
NuGet.Resolver.DependencyBehavior.Lowest
Declaration
public DependencyBehavior GetDependencyBehavior()
Returns
Type |
Description |
DependencyBehavior |
|
GetPackagesPath()
Gets the root packages (local cache) path
Declaration
public string GetPackagesPath()
Returns
ReloadSettings()
Declaration
public ISettings ReloadSettings()
Returns
Type |
Description |
ISettings |
|
Implements
Extension Methods