• 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 ProjectIdl

C# project

Inheritance
object
ProjectIdl
Implements
IProject
Namespace: BuildSystem.Project.Idl
Assembly: BuildSystem.ProjectList.dll
Syntax
public class ProjectIdl : Object, IProject

Constructors

ProjectIdl(ILogger?, IProjectPropReader, VariantList, string, GetProjectInfoDelegate)

Project where source - .idl file

Declaration
public ProjectIdl(ILogger? logger, IProjectPropReader propReader, VariantList variantList, string tempDir, GetProjectInfoDelegate getProjectInfo)
Parameters
Type Name Description
ILogger logger

Logging object

IProjectPropReader propReader

Properties of creating project

VariantList variantList

List of variant from build space

string tempDir

The directory for temporary files of build system tools

GetProjectInfoDelegate getProjectInfo

Get information about another project in build space

Properties

AppType

Native project type

Declaration
public 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
public HashSet<string> BuildPlatforms { get; }
Property Value
Type Description
System.Collections.Generic.HashSet<><string>

CacheInfo

Information about cache

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

CanCalcNativeDependency

Flag - include project in calculating native dependency

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

CanRestorePackageDeps

Flag - restore package dependencies through build space mechanism

Declaration
public 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
public 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
public List<ProjectDependency> Dependencies { get; set; }
Property Value
Type Description
System.Collections.Generic.List<><ProjectDependency>

JsonPath

Path to .json with properties of project

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

JsonProjectDependencies

Properties how to read project dependencies from the local project file

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

MainFilePath

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

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

ManagersFactory

Objects which contain properties of manager objects

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

Name

Unique name of project

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

NativeDependencies

Properties how to read dependencies from main project file

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

Packages

List of packages, which contain build results of current project

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

PropsGenDoc

Properties - how to generate documentation

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

Recompiled

Flag - project was really compiled

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

Scope

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

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

Sources

Masks to source files of project

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

Tests

List of test cases

Declaration
public 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
public string Type { get; }
Property Value
Type Description
string

Methods

AddPackageConstants(string, IPackage)

Add replace rules to read package properties

Declaration
public 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
public 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
public void Clean(string variantName)
Parameters
Type Name Description
string variantName

Environment params

CreateLng(string)

Declaration
public GenLangResult? CreateLng(string variantName)
Parameters
Type Name Description
string variantName
Returns
Type Description
GenLangResult

GenDoc(string)

Generate HTML-documentation for project

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

Environment params

GetBuildResultDefaultPath(string)

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

Declaration
public string? GetBuildResultDefaultPath(string variantName)
Parameters
Type Name Description
string variantName
Returns
Type Description
string

GetBuildResultDocumentationPath(string)

Path to file, provided for generating documentation

Declaration
public 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
public 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
public Dictionary<string, string> GetBuildResultPaths(string variantName)
Parameters
Type Name Description
string variantName
Returns
Type Description
System.Collections.Generic.Dictionary<,><string, string>

GetConstants(Variant)

Get dictionary of values and their replaces in strings

Declaration
public 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
public 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
public 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
public string? GetTestReportPath(string variantName)
Parameters
Type Name Description
string variantName
Returns
Type Description
string

ProcessRestoredBuildResult(string, string)

Possible actions:

  1. Run register for .TLB file
Declaration
public void ProcessRestoredBuildResult(string variantName, string buildResultPath)
Parameters
Type Name Description
string variantName
string buildResultPath

Reclaim(string)

Reclaims old versions from storage for each package

Declaration
public 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
public 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 .idl file

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

Properties of native project

Sign(string)

Signing dotnet dll

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

Environment params

Implements

IProject
In This Article
Back to top Generated by DocFX