Class ProjectInfo
Simple information about IProject, when we don't want to provide full object
Inheritance
object
ProjectInfo
Namespace: BuildSystem.Project
Assembly: BuildSystem.ManagerObject.Interfaces.dll
Syntax
public class ProjectInfo : Object
Constructors
ProjectInfo(IProject)
Create object from IProject
Declaration
public ProjectInfo(IProject project)
Parameters
Type | Name | Description |
---|---|---|
IProject | project |
Properties
JsonPath
Path to .json with properties of project
Declaration
public string JsonPath { get; set; }
Property Value
Type | Description |
---|---|
string |
MainFilePath
Path to main project file (dproj, csproj, etc)
Declaration
public string? MainFilePath { get; set; }
Property Value
Type | Description |
---|---|
string |
Name
Unique name of project
Declaration
public string Name { get; set; }
Property Value
Type | Description |
---|---|
string |
Scope
Scope of the project to give the opportunity to filter / group projects
Declaration
public string Scope { get; set; }
Property Value
Type | Description |
---|---|
string |
Type
Type of project. This affects on creating instance - this type should be registered in projects factory
Declaration
public string Type { get; set; }
Property Value
Type | Description |
---|---|
string |
Methods
GetBuildResultPath(string, string)
Path to file as build result
Declaration
public string? GetBuildResultPath(string variantName, string buildResultType)
Parameters
Type | Name | Description |
---|---|---|
string | variantName | Environment params |
string | buildResultType | Type of result file |
Returns
Type | Description |
---|---|
string |