• 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

Interface IProject

Interface for projects processed by build space

Namespace: BuildSystem.Project
Assembly: BuildSystem.ManagerObject.Interfaces.dll
Syntax
public interface IProject

Properties

AppType

Native project type

Declaration
string AppType { get; }
Property Value
Type Description
string

BuildPlatforms

List of platforms supported by project - it can only be build in one of them

Declaration
HashSet<string> BuildPlatforms { get; }
Property Value
Type Description
System.Collections.Generic.HashSet<><string>

CacheInfo

Information about cache

Declaration
CacheProjectInfo? CacheInfo { get; set; }
Property Value
Type Description
CacheProjectInfo

CanCalcNativeDependency

Flag - include project in calculating native dependency

Declaration
bool CanCalcNativeDependency { get; }
Property Value
Type Description
bool

CanRestorePackageDeps

Flag - restore package dependencies through build space mechanism

Declaration
bool CanRestorePackageDeps { get; }
Property Value
Type Description
bool

CompiledVariants

List of variant names - each variant was compiled in this session. ALso stores folder - where was compiled

Declaration
List<KeyValuePair<string, string?>> CompiledVariants { get; set; }
Property Value
Type Description
System.Collections.Generic.List<><KeyValuePair<string, string>>

Dependencies

List of projects, which are directive dependencies of current project

Declaration
List<ProjectDependency> Dependencies { get; set; }
Property Value
Type Description
System.Collections.Generic.List<><ProjectDependency>

JsonPath

Path to .json with properties of project

Declaration
string JsonPath { get; }
Property Value
Type Description
string

JsonProjectDependencies

Properties how to read project dependencies from the local project file

Declaration
JsonProjectDependencies? JsonProjectDependencies { get; set; }
Property Value
Type Description
JsonProjectDependencies

MainFilePath

Path to main project file (dproj, csproj, etc)

Declaration
string? MainFilePath { get; }
Property Value
Type Description
string

ManagersFactory

Objects which contain properties of manager objects

Declaration
IManagersFactory ManagersFactory { get; }
Property Value
Type Description
IManagersFactory

Name

Unique name of project

Declaration
string Name { get; }
Property Value
Type Description
string

NativeDependencies

Properties how to read dependencies from main project file

Declaration
NativeDependencies? NativeDependencies { get; set; }
Property Value
Type Description
NativeDependencies

Packages

List of packages, which contain build results of current project

Declaration
List<IPackage> Packages { get; }
Property Value
Type Description
System.Collections.Generic.List<><IPackage>

PropsGenDoc

Properties - how to generate documentation

Declaration
ProjectGenDocProps? PropsGenDoc { get; set; }
Property Value
Type Description
ProjectGenDocProps

Recompiled

Flag - project was really compiled

Declaration
bool Recompiled { get; set; }
Property Value
Type Description
bool

Scope

Scope of the project to give the opportunity to filter / group projects

Declaration
string Scope { get; }
Property Value
Type Description
string

Sources

Masks to source files of project

Declaration
List<string> Sources { get; }
Property Value
Type Description
System.Collections.Generic.List<><string>

Tests

List of test cases

Declaration
List<string> Tests { get; set; }
Property Value
Type Description
System.Collections.Generic.List<><string>

Type

Type of project. This affects on creating instance - this type should be registered in projects factory

Declaration
string Type { get; }
Property Value
Type Description
string

Methods

AddPackageConstants(string, IPackage)

Add replace rules to read package properties

Declaration
void AddPackageConstants(string variantName, IPackage package)
Parameters
Type Name Description
string variantName

Environment params

IPackage package

Modifying package

Build(string, Dictionary<string, string>)

Builds every project. Success flag can be read from Recompiled

Declaration
Dictionary<string, string?> Build(string variantName, Dictionary<string, string> buildParams)
Parameters
Type Name Description
string variantName

Environment params

System.Collections.Generic.Dictionary<,><string, string> buildParams

Params for building

Returns
Type Description
System.Collections.Generic.Dictionary<,><string, string>

Params of building, which will be written in output json file, describing build process

Clean(string)

Delete each file of build results

Declaration
void Clean(string variantName)
Parameters
Type Name Description
string variantName

Environment params

GenDoc(string)

Generate HTML-documentation for project

Declaration
void GenDoc(string variantName)
Parameters
Type Name Description
string variantName

Environment params

GetBuildResultDefaultPath(string)

Path to folder (!), where build results are stored

Declaration
string? GetBuildResultDefaultPath(string variant)
Parameters
Type Name Description
string variant

Variant of restoring

Returns
Type Description
string

GetBuildResultDocumentationPath(string)

Path to file, provided for generating documentation

Declaration
string? GetBuildResultDocumentationPath(string variant)
Parameters
Type Name Description
string variant

Variant of generating documentation

Returns
Type Description
string

GetBuildResultPath(string, string)

Path to file as build result

Declaration
string? GetBuildResultPath(string variantName, string buildResultType)
Parameters
Type Name Description
string variantName

Environment params

string buildResultType

Type of result file

Returns
Type Description
string

GetBuildResultPaths(string)

Paths to build results

Declaration
Dictionary<string, string> GetBuildResultPaths(string variant)
Parameters
Type Name Description
string variant
Returns
Type Description
System.Collections.Generic.Dictionary<,><string, string>

GetConstants(Variant)

Get dictionary of values and their replaces in strings

Declaration
Dictionary<string, string> GetConstants(Variant variant)
Parameters
Type Name Description
Variant variant
Returns
Type Description
System.Collections.Generic.Dictionary<,><string, string>

GetContent(string)

Paths to folders and files, which included in content of project. Content of project:

  1. Wll be copied as build results into folders of parent projects
Declaration
List<string> GetContent(string variantName)
Parameters
Type Name Description
string variantName
Returns
Type Description
System.Collections.Generic.List<><string>

GetNeedBuild(string)

Some special project check to define if build is need

Declaration
string GetNeedBuild(string variantName)
Parameters
Type Name Description
string variantName

Environment params

Returns
Type Description
string

GetTestReportPath(string)

Path to folder with results of tests

Declaration
string? GetTestReportPath(string variantName)
Parameters
Type Name Description
string variantName
Returns
Type Description
string

ProcessRestoredBuildResult(string, string)

Process file / folder, that was received from package, not after build. In some cases we need to do some registrations or other actions with restored object

Declaration
void ProcessRestoredBuildResult(string variant, string buildResultPath)
Parameters
Type Name Description
string variant
string buildResultPath

Reclaim(string)

Reclaims old versions from storage for each package

Declaration
void Reclaim(string variantName)
Parameters
Type Name Description
string variantName

Environment params

RunTests(string)

Run unit-test for project if test properties are set

Declaration
bool RunTests(string variantName)
Parameters
Type Name Description
string variantName

Environment params

Returns
Type Description
bool

SetNativeProps(IDSProject?)

Sets properties, which have been read from native project file (dproj/csproj/etc)

Declaration
void SetNativeProps(IDSProject? nativeInfo)
Parameters
Type Name Description
IDSProject nativeInfo

Properties of native project

Sign(string)

Sign binary results of building project

Declaration
void Sign(string variantName)
Parameters
Type Name Description
string variantName

Environment params

In This Article
Back to top Generated by DocFX