Class ProjectRestorerCommon
Common realization of ICompiler
Inheritance
object
    ProjectRestorerCommon
  Implements
Namespace: BuildSystem.ProjectList.Helpers
Assembly: BuildSystem.ProjectList.dll
Syntax
public class ProjectRestorerCommon : Object, IProjectRestorerConstructors
ProjectRestorerCommon(ILogger?, IProjectRestorerProps, string)
Restore project from package repository by downloading its packages. Tries to put all files and folders from packages to the same folders as after building project
Declaration
public ProjectRestorerCommon(ILogger? logger, IProjectRestorerProps props, string tempDir)Parameters
| Type | Name | Description | 
|---|---|---|
| ILogger | logger | |
| IProjectRestorerProps | props | |
| string | tempDir | 
Properties
Props
Properties
Declaration
public IProjectRestorerProps Props { get; }Property Value
| Type | Description | 
|---|---|
| IProjectRestorerProps | 
Methods
RestoreProject(IProject, Variant)
Download packages of project and restore them
Declaration
public bool RestoreProject(IProject project, Variant variant)Parameters
| Type | Name | Description | 
|---|---|---|
| IProject | project | |
| Variant | variant | 
Returns
| Type | Description | 
|---|---|
| bool |