Class RestorerNuget
Restores packages from NuGet repository
Inheritance
object
    RestorerNuget
  Namespace: BuildSystem.Restorer.Nuget
Assembly: BuildSystem.ProjectList.dll
Syntax
public class RestorerNuget : Object, IRestorer, IManagerConstructors
RestorerNuget(ILogger?, RestorerNugetProps, string)
Restores packages from NuGet repository
Declaration
public RestorerNuget(ILogger? logger, RestorerNugetProps props, string tempDir)Parameters
| Type | Name | Description | 
|---|---|---|
| ILogger | logger | Logging object | 
| RestorerNugetProps | props | Parameters of restorer | 
| string | tempDir | Folder where will be copied files for creating csproj-project | 
Fields
ClassIdent
Unique ident of class
Declaration
public const string ClassIdent = "Restorer.Nuget"Field Value
| Type | Description | 
|---|---|
| string | 
Properties
Logger
Declaration
public ILogger? Logger { get; }Property Value
| Type | Description | 
|---|---|
| ILogger | 
Props
Declaration
public IManagerProp Props { get; }Property Value
| Type | Description | 
|---|---|
| IManagerProp | 
Methods
Restore(Dictionary<string, string>)
Restore all dependencies from properties
Declaration
public void Restore(Dictionary<string, string> restoreParams)Parameters
| Type | Name | Description | 
|---|---|---|
| System.Collections.Generic.Dictionary<,><string, string> | restoreParams | List of params provided to restore object |