Class VersionManagerProps
Container of properties for classes implementing IVersionManager
Namespace: BuildSystem.Factories
Assembly: BuildSystem.Factories.dll
Syntax
public class VersionManagerProps : Object, IVersionManagerProps, IManagerProp
Constructors
VersionManagerProps()
Container of properties for classes implementing VersionManagerProps
Declaration
public VersionManagerProps()
VersionManagerProps(IManagerProp)
Container of properties for classes implementing VersionManagerProps
Declaration
public VersionManagerProps(IManagerProp source)
Parameters
Type | Name | Description |
---|---|---|
IManagerProp | source |
Fields
ClassIdent
Ident for factory
Declaration
public const string ClassIdent = "VersionManager"
Field Value
Type | Description |
---|---|
string |
NodeName
Node key in JSON with properties for IVersionManager - value for Name
Declaration
public const string NodeName = "name"
Field Value
Type | Description |
---|---|
string |
NodeUseCache
Node key in JSON with properties for IVersionManager - value for UseCache
Declaration
public const string NodeUseCache = "use_cache"
Field Value
Type | Description |
---|---|
string |
Properties
ManagerType
Declaration
public ManagerType ManagerType { get; }
Property Value
Type | Description |
---|---|
ManagerType |
Name
Declaration
public string Name { get; set; }
Property Value
Type | Description |
---|---|
string |
UseCache
Use local cache for package manager, when asking for versions from repository
Declaration
public bool UseCache { get; set; }
Property Value
Type | Description |
---|---|
bool |
Methods
ApplyConstants(IDictionaryStringString)
Declaration
public virtual void ApplyConstants(IDictionaryStringString constants)
Parameters
Type | Name | Description |
---|---|---|
IDictionaryStringString | constants |
Clone()
Creates a new instance - copy of current object
Declaration
public virtual IManagerProp Clone()
Returns
Type | Description |
---|---|
IManagerProp | New instance |
Copy(IManagerProp)
Container of properties for classes implementing VersionManagerProps
Declaration
public virtual void Copy(IManagerProp source)
Parameters
Type | Name | Description |
---|---|---|
IManagerProp | source |
EmptyValues()
Set values of private properties to default
Declaration
public virtual void EmptyValues()
Update(string, string)
Declaration
public virtual void Update(string jsonInfo, string relativeDir)
Parameters
Type | Name | Description |
---|---|---|
string | jsonInfo | |
string | relativeDir |