Class JsonProjectDependencies
Object for describing properties of dependencies - list of projects in JSON file with settings
Inheritance
object
JsonProjectDependencies
Namespace: BuildSystem.Project.Dependency
Assembly: BuildSystem.ManagerObject.Interfaces.dll
Syntax
public class JsonProjectDependencies : Object
Constructors
JsonProjectDependencies()
Object for describing properties of package dependency
Declaration
public JsonProjectDependencies()
Properties
Additionals
Additional keys which don't have their own properties
Declaration
public Dictionary<string, string> Additionals { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.Dictionary<,><string, string> |
AffectedGroups
Filter for dependencies which should be added to the package
Declaration
public List<string> AffectedGroups { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<><string> |
Projects
List of paths to dependent projects
Declaration
public HashSet<string> Projects { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.HashSet<><string> |
Methods
Copy(JsonProjectDependencies)
Copy properties from another object
Declaration
public void Copy(JsonProjectDependencies source)
Parameters
Type | Name | Description |
---|---|---|
JsonProjectDependencies | source |
EmptyValues()
Set values of private properties to default
Declaration
public void EmptyValues()
Update(JsonNode?, string)
Update self properties by reading JsonObject
Declaration
public void Update(JsonNode? jsonInfo, string relativeDir)
Parameters
Type | Name | Description |
---|---|---|
System.Text.Json.Nodes.JsonNode | jsonInfo | JsonObject with properties |
string | relativeDir | Directory which should be added to properties containing relative paths |