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

Reader of properties of project in buildspace

Inheritance
object
ProjectPropReaderJson
Implements
IProjectPropReader
Namespace: BuildSystem.Project.PropReader.Json
Assembly: BuildSystem.Factories.dll
Syntax
public class ProjectPropReaderJson : Object, IProjectPropReader

Constructors

ProjectPropReaderJson(ILogger?, ReaderJson)

Properties project which are read from .json file

Declaration
public ProjectPropReaderJson(ILogger? logger, ReaderJson reader)
Parameters
Type Name Description
ILogger logger

Logging object

ReaderJson reader

Reader of global settings file

Fields

NodeBuildParams

Node in JsonObject with value for BuildParams

Declaration
public const string NodeBuildParams = "build_params"
Field Value
Type Description
string

NodeBuildResultDefaultPath

Node in JsonObject with value for BuildResultDefaultPath

Declaration
public const string NodeBuildResultDefaultPath = "build_result_default_path"
Field Value
Type Description
string

NodeContent

Node in JsonObject with paths to content files

Declaration
public const string NodeContent = "content"
Field Value
Type Description
string

NodeMainFilePath

Node in JsonObject with value for MainFilePath

Declaration
public const string NodeMainFilePath = "project_path"
Field Value
Type Description
string

NodePlatforms

Node in JsonObject with value for BuildPlatforms

Declaration
public const string NodePlatforms = "platforms"
Field Value
Type Description
string

NodeScope

Node in JsonObject with value for Scope

Declaration
public const string NodeScope = "scope"
Field Value
Type Description
string

NodeSources

Node in JsonObject with value for Sources

Declaration
public const string NodeSources = "sources"
Field Value
Type Description
string

NodeTestReportPath

Node in JsonObject with path to folder with test results

Declaration
public const string NodeTestReportPath = "test_report_path"
Field Value
Type Description
string

NodeTests

Node in JsonObject with value for Tests

Declaration
public const string NodeTests = "tests"
Field Value
Type Description
string

NodeType

Node in JsonObject with value for Type

Declaration
public const string NodeType = "type"
Field Value
Type Description
string

Properties

BuildParams

List of params provided to Build command

Declaration
public Dictionary<string, string> BuildParams { get; set; }
Property Value
Type Description
System.Collections.Generic.Dictionary<,><string, string>

BuildPlatforms

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

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

BuildResultDefaultPath

Default path, where *.stbuildresult.json will be created, if this path is not specified in project

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

Constants

String constants to replace when reading values of properties. For a example $project:title$ = "test.project"

Declaration
public Dictionary<string, string> Constants { get; set; }
Property Value
Type Description
System.Collections.Generic.Dictionary<,><string, string>

Content

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> Content { get; set; }
Property Value
Type Description
System.Collections.Generic.List<><string>

Dependencies

Duplicate for project dependency in packages. Will help in case if no packages

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

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; set; }
Property Value
Type Description
string

ManagersFactory

Objects which contain properties of manager objects

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

NativeDependencies

Properties how to read dependencies from main project file

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

ReaderJson

Reader of storage. May contain some rules

Declaration
public ReaderJson ReaderJson { get; }
Property Value
Type Description
ReaderJson

Scope

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

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

SourcePath

Path to storage with properties of project

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

Sources

Masks to source files of project

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

TestReportPath

Path to folder with results of testing

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

Tests

Commands for testing project

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

Type

Type of project

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

Methods

Update(string, IManagersFactory)

Update self properties project which are read from .json file

Declaration
public void Update(string filePath, IManagersFactory managerObjects)
Parameters
Type Name Description
string filePath

Path to a file with local properties for project

IManagersFactory managerObjects

List of manager objects from build space

Implements

IProjectPropReader
In This Article
Back to top Generated by DocFX