• API Documentation
Show / Hide Table of Contents
  • BuildSystem.Allure.Generator
    • AllureServe
  • BuildSystem.Builder.Dotnet
    • BuilderDotnet
    • BuilderDotnetProps
  • BuildSystem.Builder.Midl
    • BuilderMidl
    • BuilderMidlProps
  • BuildSystem.Builder.MsCpp
    • BuilderMsCpp
    • BuilderMsCppProps
  • BuildSystem.Builder.MsDelphi
    • BuilderMsDelphi
    • BuilderMsDelphiProps
  • BuildSystem.BuildSpace
    • IBuildSpace
  • BuildSystem.BuildSpace.Common
    • BuildSpaceCommon
    • RegisterFactoryAssemblies
  • BuildSystem.Cleaner.Common
    • CleanerCommon
    • CleanerCommonProps
  • BuildSystem.Factories
    • BuilderProps
    • CleanerProps
    • Factory<T1, T2>
    • FileCopierProps
    • GenDocProps
    • GenLangProps
    • GitExploreOptions
    • GlobalFactory
    • HashGeneratorProps
    • ITestRunnerProps
    • PackageManagerProps
    • ProjectCacheProps
    • ReclaimerProps
    • ReclaimerStrategyFactory
    • SignerProps
    • TestRunnerProps
    • TlbGenBplProps
    • TlbGenDotnetDllProps
    • TlbGenPasProps
    • VersionManagerProps
  • BuildSystem.FileCopier.Common
    • FileCopierCommon
    • FileCopierCommonProps
  • BuildSystem.GenDoc.DocFX
    • CppReader
    • CSharpConverter
    • DelphiReader
    • GenDocFX
    • GenDocFXProps
    • IReader
    • SourceInfo
    • SourceInfoLang
    • SourceInfoSummary
    • SourceInfoSyntax
    • SourceInfoSyntaxParam
    • SourceInfoType
    • YamlWriter
  • BuildSystem.HashGenerator.Common
    • HashGeneratorCommon
    • HashGeneratorCommonProps
  • BuildSystem.Info
    • BuildInfo
    • JenkinsInfo
    • RunInfo
    • SessionInfo
  • BuildSystem.Loggers
    • LoggerBroadCaster
    • LoggerBuffer
    • LoggerConsole
    • LoggerFile
  • BuildSystem.Logging
    • ILogger
    • LogLevel
    • tagLogLevel
  • BuildSystem.ManagerObject
    • IDictionaryStringString
    • IManager
    • IManagerProp
    • ManagerType
    • tagManagerType
  • BuildSystem.ManagerObject.Interfaces
    • CacheDependencyInfo
    • CacheProjectInfo
    • FileGroup
    • GenLangResult
    • GetPackageInfo
    • GetVersionList
    • HashAlgorithmType
    • IBuilder
    • IBuilderProps
    • ICleaner
    • ICleanerProps
    • IFileCopier
    • IFileCopierProps
    • IGenDoc
    • IGenDocProps
    • IGenLang
    • IGenLangProps
    • IHashGenerator
    • IHashGeneratorProps
    • IPackageManager
    • IPackageManagerProps
    • IProjectCache
    • IProjectCacheProps
    • IReclaimer
    • IReclaimerProps
    • IReclaimerStrategy
    • IReclaimerStrategyProps
    • IRestorer
    • IRestorerProps
    • ISigner
    • ISignerProps
    • ITestRunner
    • ITlbGenBpl
    • ITlbGenBplProps
    • ITlbGenDotnetDll
    • ITlbGenDotnetDllProps
    • ITlbGenPas
    • ITlbGenPasProps
    • IVersionManager
    • IVersionManagerProps
    • ReaderType
    • RestorerDepProp
    • VersionIncrementType
    • VersionIncrementValue
    • VersionManagerType
  • BuildSystem.ManagersFactory
    • IManagersFactory
    • ListManagerNameForVariant
    • ManagerConstNames
    • ManagerNameForVariant
  • BuildSystem.ManagersFactory.Common
    • ManagersFactoryCommon
  • BuildSystem.Nuget.Logging
    • NuGetLogging
  • BuildSystem.Package
    • CachePackageInfo
    • GetNextVersion
    • IPackage
    • IPackageProps
    • LicensePackageInfo
    • PackageAction
    • PackageDependency
    • PackageFiles
    • PackageProps
    • RepoPackageInfo
    • SetDuplicatePushStorageInfo
    • SetStorageInfo
    • StorageInfo
    • VersionProp
  • BuildSystem.Package.Dotnet
    • PackageDotnet
    • PackageDotnetProps
  • BuildSystem.Package.Factory
    • PackageFactory
    • PackageType
  • BuildSystem.Package.Nuget
    • PackageNuget
    • PackageNugetProps
  • BuildSystem.PackageManager.Dotnet
    • PackageManagerDotnet
    • PackageManagerDotnetProps
  • BuildSystem.PackageManager.Nuget
    • PackageManagerNuget
    • PackageManagerNugetProps
  • BuildSystem.Project
    • GetProjectInfoDelegate
    • IProject
    • ProjectGenDocProps
    • ProjectInfo
  • BuildSystem.Project.Base
    • ProjectBase
  • BuildSystem.Project.Cpp
    • ProjectCpp
  • BuildSystem.Project.CSharp
    • ProjectCSharp
  • BuildSystem.Project.Delphi
    • ProjectDelphi
  • BuildSystem.Project.Dependency
    • JsonProjectDependencies
    • NativeDependencies
    • ProjectDependency
  • BuildSystem.Project.Factory
    • ProjectFactory
  • BuildSystem.Project.Idl
    • ProjectIdl
  • BuildSystem.Project.PropReader
    • IProjectPropReader
  • BuildSystem.Project.PropReader.Json
    • ProjectPropReaderJson
  • BuildSystem.Project.Res
    • ProjectRes
  • BuildSystem.Project.Wix
    • ProjectWix
  • BuildSystem.ProjectCache.Common
    • ProjectCacheCommon
    • ProjectCacheCommonProps
  • BuildSystem.ProjectCache.NuGet
    • ProjectCacheNuGet
    • ProjectCacheNuGetProps
  • BuildSystem.ProjectList
    • BuildResultIsRequiredDelegate
    • CalcCopyBuildResultPathDelegate
    • CompilerConstants
    • IAnalyzer
    • IAnalyzerProps
    • IBuildInfoSaver
    • IBuildInfoSaverProps
    • ICompiler
    • ICompilerProps
    • ICopierBuildResults
    • ICopierBuildResultsProps
    • IDeployer
    • IDeployerProps
    • IProjectList
    • IProjectListProps
    • IProjectRestorer
    • IProjectRestorerProps
    • ISourceHashCalculator
    • ISourceHashCalculatorProps
    • ProjectFilter
    • RestoreInsteadOfBuildDelegate
    • SourceHashCalculatorConstants
  • BuildSystem.ProjectList.Common
    • GitHelper
    • GraphDot
    • ManagerRestorer
    • ProjectListCommon
    • ProjectListCommonProps
  • BuildSystem.ProjectList.Factory
    • ProjectListFactory
  • BuildSystem.ProjectList.Helpers
    • AnalyzerCommon
    • AnalyzerCommonProps
    • BuildInfoSaverCommon
    • BuildInfoSaverCommonProps
    • CompilerCommon
    • CompilerCommonProps
    • CopierBuildResultsCommon
    • CopierBuildResultsCommonProps
    • DeployerCommon
    • DeployerCommonProps
    • PackagesRestorer
    • ProjectRestorerCommon
    • ProjectRestorerCommonProps
    • SourceHashCalculatorCommon
    • SourceHashCalculatorCommonProps
    • TransitiveDependenciesBuilder
  • BuildSystem.Reclaimer.NugetCommon
    • ReclaimerNugetCommon
    • ReclaimerNugetCommonProps
  • BuildSystem.Reclaimer.Strategy.Common
    • ReclaimerStrategyCommon
    • ReclaimerStrategyCommonProps
  • BuildSystem.Reclaimer.Strategy.Delegate
    • CalcDeletingPackages
    • ReclaimerStrategyDelegate
    • ReclaimerStrategyDelegateProps
  • BuildSystem.Restorer
    • RestorerProps
  • BuildSystem.Restorer.Nuget
    • RestorerNuget
    • RestorerNugetProps
  • BuildSystem.SettingsReader
    • ISettingsReader
    • ReaderJson
    • SettingsReaderType
  • BuildSystem.SettingsReader.Factory
    • SettingsReaderFactory
  • BuildSystem.SettingsReader.Json
    • SettingsReaderJson
  • BuildSystem.SettingsReader.Object
    • SettingsObject
    • SettingsReaderObject
  • BuildSystem.SharedMemIPC
    • DelayedProcedure
    • HandleRequestProc
    • HandleStreamProc
    • IPCStream
    • SharedMemClient
    • SharedMemObject
    • SharedMemServer
  • BuildSystem.Signer.Win
    • SignerWin
    • SignerWinProps
  • BuildSystem.TestRunner.Common
    • TestRunnerCommon
    • TestRunnerCommonProps
  • BuildSystem.TlbDoc
    • TlbHelpReader
  • BuildSystem.TlbGenBpl.ThroughPas
    • TlbGenBplThroughPas
    • TlbGenBplThroughPasProps
  • BuildSystem.TlbGenDotnetDll.TlbImp
    • TlbGenDotnetDllTlbImp
    • TlbGenDotnetDllTlbImpProps
  • BuildSystem.TlbGenPas.LibImp
    • TlbGenPasLibImp
    • TlbGenPasLibImpProps
  • BuildSystem.TypesCS.Dictionary
    • DictionaryStringString
  • BuildSystem.Utils
    • Matcher
    • PropReader
  • BuildSystem.Utils.AdminRunner
    • AdminRunner
    • SingleRunner
  • BuildSystem.Utils.DirectoryHelper
    • DirectoryCleaner
    • DirectoryCopier
    • DirectoryScanner
  • BuildSystem.Utils.Executor
    • CmdRunner
    • ExeLine
    • ExeRunner
  • BuildSystem.Utils.FileFormatter
    • FileFormatter
  • BuildSystem.Utils.GitHelper
    • GitRepository
  • BuildSystem.Utils.IpcProcessRunner
    • ProcessRunner
  • BuildSystem.Utils.Json
    • JsonDefinesFormatter
    • JsonReader
    • JsonUtils
  • BuildSystem.Utils.PathReader
    • PathReader
  • BuildSystem.Utils.Xml
    • XmlUtils
  • BuildSystem.Variants
    • ConfigurationType
    • TargetPlatform
    • Variant
    • VariantList
  • BuildSystem.VersionManager.Common
    • VersionManagerCommon
    • VersionManagerCommonProps
  • IdeProjectFileEditor
    • DBinOutType
    • DConfigType
    • DotNetOutPathType
    • DotNetReferenceType
    • DPathPropType
    • DPlatformType
    • IDelphiMainSrcEditor
    • IDelphiProjectEditor
    • IDEProjectEditor
    • IDotNetProjectEditor
    • IProjectReferenceEditor
    • IXMLEditor
    • ProjectReferenceInfo
  • ProjectDependencyScanner
    • DependencyScanner
    • IDLAdditionalInfo
    • IDotNetAdditionalInfo
    • IDSProject
    • IDSProjectsList
    • IPDelphiAdditionalInfo
    • IProjectDependencyScanner
    • IProjectsDependenciesScanner
    • PlatformType
    • ProjectType

Class ProjectListCommon

List of projects

Inheritance
object
ProjectListCommon
Implements
IProjectList
System.Collections.Generic.IList<><IProject>
System.Collections.Generic.ICollection<><IProject>
System.Collections.Generic.IEnumerable<><IProject>
System.Collections.IEnumerable
Namespace: BuildSystem.ProjectList.Common
Assembly: BuildSystem.ProjectList.dll
Syntax
public class ProjectListCommon : List<IProject>, IProjectList, IList<IProject>, ICollection<IProject>, IEnumerable<IProject>, IEnumerable

Constructors

ProjectListCommon(ILogger?, IProjectListProps, string)

List of projects

Declaration
public ProjectListCommon(ILogger? logger, IProjectListProps props, string tempFolder)
Parameters
Type Name Description
ILogger logger
IProjectListProps props
string tempFolder

Properties

Analyzer

Fills dependencies between projects

Declaration
public IAnalyzer? Analyzer { get; set; }
Property Value
Type Description
IAnalyzer

BuildInfoSaver

Save build information in some storage

Declaration
public IBuildInfoSaver? BuildInfoSaver { get; set; }
Property Value
Type Description
IBuildInfoSaver

Compiler

Proceeds stateless tasks, which should help to build projects

Declaration
public ICompiler? Compiler { get; set; }
Property Value
Type Description
ICompiler

CopierBuildResults

Object to copy build results of dependency project into parent project

Declaration
public ICopierBuildResults? CopierBuildResults { get; set; }
Property Value
Type Description
ICopierBuildResults

Deployer

Object to execute some tasks for deploying packages of projects

Declaration
public IDeployer? Deployer { get; set; }
Property Value
Type Description
IDeployer

ManagersFactory

Factory for generating global managing objects. Their setting set not for project but for whole build space

Declaration
public IManagersFactory? ManagersFactory { get; set; }
Property Value
Type Description
IManagersFactory

ProjectRestorer

Object to restore projects by downloading their packages from repository

Declaration
public IProjectRestorer? ProjectRestorer { get; set; }
Property Value
Type Description
IProjectRestorer

Props

Properties of project list

Declaration
public IProjectListProps Props { get; }
Property Value
Type Description
IProjectListProps

SourceHashCalculator

Calculates hash of source files with some specific logic

Declaration
public ISourceHashCalculator? SourceHashCalculator { get; set; }
Property Value
Type Description
ISourceHashCalculator

VariantList

List of configuration of build space

Declaration
public VariantList? VariantList { get; set; }
Property Value
Type Description
VariantList

Methods

AnalyzeProjects()

Analyze projects and fill some properties of IProject

Declaration
public void AnalyzeProjects()

Clean(string, ProjectFilter?)

Calls Clean(string) to each project

Declaration
public void Clean(string variantName, ProjectFilter? filter = null)
Parameters
Type Name Description
string variantName

Environment params

ProjectFilter filter

Filtering processed projects

Compile(string, bool, ProjectFilter?)

Build project

Declaration
public void Compile(string variantName, bool breakOnError = false, ProjectFilter? filter = null)
Parameters
Type Name Description
string variantName

Environment params

bool breakOnError

Break compilation if an error found

ProjectFilter filter

Filtering processed projects

Deploy(string, bool, ProjectFilter?)

Creates packages and then pushed them

Declaration
public bool Deploy(string variantName, bool onlyCreate = false, ProjectFilter? filter = null)
Parameters
Type Name Description
string variantName

Environment params

bool onlyCreate

No need in push

ProjectFilter filter

Filtering processed projects

Returns
Type Description
bool

Flag, that everything is ok

FirstOrDefaultByJsonPath(string)

Search project in self list - path to JSON file with settings should be the same as in input param

Declaration
public IProject? FirstOrDefaultByJsonPath(string jsonPath)
Parameters
Type Name Description
string jsonPath

Path to JSON file with settings

Returns
Type Description
IProject

FirstOrDefaultByProjectPath(string)

Search project in self list - path to main project file should be the same as in input param

Declaration
public IProject? FirstOrDefaultByProjectPath(string projectPath)
Parameters
Type Name Description
string projectPath

Path to main project file

Returns
Type Description
IProject

GenDoc(string, ProjectFilter?)

Generate HTML documentation per each project

Declaration
public void GenDoc(string variantName, ProjectFilter? filter = null)
Parameters
Type Name Description
string variantName

Environment params

ProjectFilter filter

Filtering processed projects

GenProjectDependsGraph(string, ProjectFilter?)

Generates a dependency graph of build system projects in .dot format

Declaration
public void GenProjectDependsGraph(string fileName, ProjectFilter? filter = null)
Parameters
Type Name Description
string fileName

Path to resulting .dot file

ProjectFilter filter

Project filtering

GetBuildResultPaths(string, ProjectFilter?)

Calls GetBuildResultPath(string, string) to each project

Declaration
public List<string> GetBuildResultPaths(string variantName, ProjectFilter? filter = null)
Parameters
Type Name Description
string variantName

Environment params

ProjectFilter filter

Filtering processed projects

Returns
Type Description
System.Collections.Generic.List<><string>

Flag that everything is ok

Restore(string, ProjectFilter?)

Restore current project list dependencies

Declaration
public void Restore(string variantName, ProjectFilter? filter = null)
Parameters
Type Name Description
string variantName

Environment params

ProjectFilter filter

Filter for projects, which dependencies should be restored. If null, all project dependencies will be restored.

RunTests(string, ProjectFilter?)

Run unit testing for each project

Declaration
public bool RunTests(string variantName, ProjectFilter? filter = null)
Parameters
Type Name Description
string variantName

Environment params

ProjectFilter filter

Filtering processed projects

Returns
Type Description
bool

False, if at least one test failed

Sign(string, ProjectFilter?)

Calls Sign(string) to each project

Declaration
public bool Sign(string variantName, ProjectFilter? filter = null)
Parameters
Type Name Description
string variantName

Environment params

ProjectFilter filter

Filtering processed projects

Returns
Type Description
bool

Flag, that everything is ok

Implements

IProjectList
System.Collections.Generic.IList<>
System.Collections.Generic.ICollection<>
System.Collections.Generic.IEnumerable<>
System.Collections.IEnumerable
In This Article
Back to top Generated by DocFX