Class ProjectCacheNuGetProps
Properties of ProjectCacheNuGet object
Inherited Members
Namespace: BuildSystem.ProjectCache.NuGet
Assembly: BuildSystem.Core.dll
Syntax
public class ProjectCacheNuGetProps : ProjectCacheProps, IProjectCacheProps, IManagerProp
Constructors
ProjectCacheNuGetProps()
Container of properties for classes implementing IProjectCache
Declaration
public ProjectCacheNuGetProps()
ProjectCacheNuGetProps(IManagerProp)
Container of properties for classes implementing ProjectCacheNuGetProps
Declaration
public ProjectCacheNuGetProps(IManagerProp source)
Parameters
Type | Name | Description |
---|---|---|
IManagerProp | source |
Fields
NodePackageManager
Node key in JSON with properties for package manager - value for PackageManagerProps
Declaration
public const string NodePackageManager = "package_manager"
Field Value
Type | Description |
---|---|
string |
NodeSameVersions
Node key in JSON - value for SameVersions
Declaration
public const string NodeSameVersions = "same_versions"
Field Value
Type | Description |
---|---|
string |
NodeTempDir
Node key in JSON with properties for TempDir
Declaration
public const string NodeTempDir = "temp_dir"
Field Value
Type | Description |
---|---|
string |
NodeVersionManager
Node key in JSON with properties for version manager - value for VersionManagerProps
Declaration
public const string NodeVersionManager = "version_manager"
Field Value
Type | Description |
---|---|
string |
Properties
PackageManagerProps
Properties for package manager as repository which answers for getting packages
Declaration
public IPackageManagerProps? PackageManagerProps { get; set; }
Property Value
Type | Description |
---|---|
IPackageManagerProps |
SameVersions
Versions of all packages should be same - in other case all versions will be updated to latest one
Declaration
public bool SameVersions { get; set; }
Property Value
Type | Description |
---|---|
bool |
TempDir
Directory where temporary files can be saved
Declaration
public string? TempDir { get; set; }
Property Value
Type | Description |
---|---|
string |
VersionManagerProps
Properties for incrementing version of package
Declaration
public IVersionManagerProps? VersionManagerProps { get; set; }
Property Value
Type | Description |
---|---|
IVersionManagerProps |
Methods
ApplyConstants(IDictionaryStringString)
Declaration
public override void ApplyConstants(IDictionaryStringString constants)
Parameters
Type | Name | Description |
---|---|---|
IDictionaryStringString | constants |
Overrides
Clone()
Creates a new instance - copy of current object
Declaration
public override IManagerProp Clone()
Returns
Type | Description |
---|---|
IManagerProp | New instance |
Overrides
Copy(IManagerProp)
Copy all properties from source object
Declaration
public override void Copy(IManagerProp source)
Parameters
Type | Name | Description |
---|---|---|
IManagerProp | source | Object, which properties will be populated |
Overrides
EmptyValues()
Set all properties to their default values
Declaration
public override void EmptyValues()
Overrides
Update(string, string)
Declaration
public override void Update(string jsonInfo, string relativeDir)
Parameters
Type | Name | Description |
---|---|---|
string | jsonInfo | |
string | relativeDir |