Class SettingsReaderObject
Reader of settings files
Inheritance
Implements
Namespace: BuildSystem.SettingsReader.Object
Assembly: BuildSystem.Factories.dll
Syntax
public class SettingsReaderObject : Object, ISettingsReader
Constructors
SettingsReaderObject(ILogger?)
Reader of settings files
Declaration
public SettingsReaderObject(ILogger? logger)
Parameters
Type | Name | Description |
---|---|---|
ILogger | logger |
Properties
ManagerNames
Accordance between specified object type + variant and object name
Declaration
public ListManagerNameForVariant ManagerNames { get; set; }
Property Value
Type | Description |
---|---|
ListManagerNameForVariant |
ManagerProps
List of properties for manager objects
Declaration
public List<IManagerProp> ManagerProps { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<><IManagerProp> |
ProjectListProps
Properties - how to manage over list of projects
Declaration
public IProjectListProps? ProjectListProps { get; set; }
Property Value
Type | Description |
---|---|
IProjectListProps |
Projects
List of paths to project settings files. Later string may be replaced to object, when we create new readers of project settings files
Declaration
public HashSet<string> Projects { get; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.HashSet<><string> |
ReaderJson
Reader for json files with replacing by some variables / defines, which defined in current settings
Declaration
public ReaderJson ReaderJson { get; set; }
Property Value
Type | Description |
---|---|
ReaderJson |
TypeSuffixes
List of possible suffixes when calling creating objects methods. We can search for "cleaner" and then for "cleaner_delphi". It is important that first of all we search with suffixes and only then without them
Declaration
public List<string> TypeSuffixes { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<><string> |
Variants
List of variants as groups of build session params
Declaration
public VariantList Variants { get; set; }
Property Value
Type | Description |
---|---|
VariantList |
Methods
Update(object, List<string>)
Update self properties by reading list of files
Declaration
public void Update(object updateInfo, List<string> suffixes)
Parameters
Type | Name | Description |
---|---|---|
object | updateInfo | Array of paths to files with properties |
System.Collections.Generic.List<><string> | suffixes | Updating list of TypeSuffixes |