Class NativeDependencies
Object for describing properties of native dependencies - from main project file
Inheritance
object
NativeDependencies
Namespace: BuildSystem.Project.Dependency
Assembly: BuildSystem.ManagerObject.Interfaces.dll
Syntax
public class NativeDependencies : Object
Constructors
NativeDependencies()
Object for describing properties of package dependency
Declaration
public NativeDependencies()
Fields
NodeAffectedGroups
Node key in JSON - value for AffectedGroups
Declaration
public const string NodeAffectedGroups = "affected_groups"
Field Value
Type | Description |
---|---|
string |
NodeExplicitRestore
Node key in JSON - value for ExplicitRestore
Declaration
public const string NodeExplicitRestore = "explicit_restore"
Field Value
Type | Description |
---|---|
string |
NodeIsVisible
Node key in JSON - value for IsVisible
Declaration
public const string NodeIsVisible = "is_visible"
Field Value
Type | Description |
---|---|
string |
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> |
ExplicitRestore
Ignore restoring this dependency
Declaration
public bool ExplicitRestore { get; set; }
Property Value
Type | Description |
---|---|
bool |
IsVisible
Project dependency should be added to generating package
Declaration
public bool IsVisible { get; set; }
Property Value
Type | Description |
---|---|
bool |
Methods
Copy(NativeDependencies)
Copy properties from another object
Declaration
public void Copy(NativeDependencies source)
Parameters
Type | Name | Description |
---|---|---|
NativeDependencies | 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 |