Class ReclaimerNugetCommon
Adds new section to binary files using utility written on Delphi
Inheritance
object
ReclaimerNugetCommon
Namespace: BuildSystem.Reclaimer.NugetCommon
Assembly: BuildSystem.Core.dll
Syntax
public class ReclaimerNugetCommon : Object, IReclaimer, IManager
Constructors
ReclaimerNugetCommon(ILogger?, ReclaimerProps, string)
Adds new section to binary files using utility written on Delphi
Declaration
public ReclaimerNugetCommon(ILogger? logger, ReclaimerProps props, string tempDir)
Parameters
| Type | Name | Description |
|---|---|---|
| ILogger | logger | Logger |
| ReclaimerProps | props | Properties which are the main for classes implementors of IBinder |
| string | tempDir | Temporary directory for PackageManagerNuget |
Fields
ClassIdent
Unique ident of class
Declaration
public const string ClassIdent = "Reclaimer.NugetCommon"
Field Value
| Type | Description |
|---|---|
| string |
Properties
Logger
Declaration
public ILogger? Logger { get; }
Property Value
| Type | Description |
|---|---|
| ILogger |
Props
Declaration
public IManagerProp Props { get; }
Property Value
| Type | Description |
|---|---|
| IManagerProp |
Methods
Reclaim(List<string>, Dictionary<string, string>)
Clean feeds according to strategies
Declaration
public void Reclaim(List<string> availableToDelete, Dictionary<string, string> reclaimParams)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Collections.Generic.List<><string> | availableToDelete | IDs of packages, which versions can be deleted |
| System.Collections.Generic.Dictionary<,><string, string> | reclaimParams | Parameters for reclaiming |