Interface IReclaimerStrategyProps
Interface for strategy properties
Namespace: BuildSystem.ManagerObject.Interfaces
Assembly: BuildSystem.ManagerObject.Interfaces.dll
Syntax
public interface IReclaimerStrategyProps
Properties
Name
Unique identifier for strategy
Declaration
string Name { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
PackageManagerProps
Properties for contacting with package storage
Declaration
IPackageManagerProps? PackageManagerProps { get; set; }
Property Value
| Type | Description |
|---|---|
| IPackageManagerProps |
Methods
ApplyConstants(IDictionaryStringString)
Replace some values in properties with constants
Declaration
void ApplyConstants(IDictionaryStringString constants)
Parameters
| Type | Name | Description |
|---|---|---|
| IDictionaryStringString | constants |
Clone()
Create new instance as copy of existing
Declaration
IReclaimerStrategyProps Clone()
Returns
| Type | Description |
|---|---|
| IReclaimerStrategyProps |
Copy(IReclaimerStrategyProps)
Copy all properties from another instance
Declaration
void Copy(IReclaimerStrategyProps props)
Parameters
| Type | Name | Description |
|---|---|---|
| IReclaimerStrategyProps | props |
EmptyValues()
Set values of private properties to default
Declaration
void EmptyValues()
Update(JsonNode?, string)
Container of properties for classes implementing IBinder
Declaration
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 (not absolute) |