Class ProjectListFactory
Factory for creating objects of BuildSystem.ProjectList
Inheritance
Namespace: BuildSystem.ProjectList.Factory
Assembly: BuildSystem.Factories.dll
Syntax
public static class ProjectListFactory : Object
Methods
Clear()
Clean all registered units in factory
Declaration
public static void Clear()
CreateObject(IProjectListProps, ILogger?, string)
Create instance of object IProjectList when properties already exists
Declaration
public static IProjectList CreateObject(IProjectListProps propObject, ILogger? logger, string tempDir)
Parameters
Type | Name | Description |
---|---|---|
IProjectListProps | propObject | Properties for creating object |
ILogger | logger | Logging object |
string | tempDir | Path to folder where temporary folders can be created |
Returns
Type | Description |
---|---|
IProjectList |
CreateProps(JsonNode?, string, IProjectListProps?)
Create instance of object IProjectListProps from JSON
Declaration
public static IProjectListProps CreateProps(JsonNode? jsonInfo, string relativeDir, IProjectListProps? defaultProps = null)
Parameters
Type | Name | Description |
---|---|---|
System.Text.Json.Nodes.JsonNode | jsonInfo | JsonObject with properties |
string | relativeDir | A directory which should be added to properties containing relative paths |
IProjectListProps | defaultProps | Default properties for creating object |
Returns
Type | Description |
---|---|
IProjectListProps |
RegisterAssembly<T1, T2>()
Add accordance of classname and int location (assembly) so instance of class can be created later
Declaration
public static void RegisterAssembly<T1, T2>() where T1 : IProjectList where T2 : IProjectListProps
Type Parameters
Name | Description |
---|---|
T1 | |
T2 |
RegisterAssemblyAnalyzer<T1, T2>()
Add accordance of classname and int location (assembly) so instance of class can be created later
Declaration
public static void RegisterAssemblyAnalyzer<T1, T2>() where T1 : IAnalyzer where T2 : IAnalyzerProps
Type Parameters
Name | Description |
---|---|
T1 | |
T2 |
RegisterAssemblyBuildInfoSaver<T1, T2>()
Add accordance of classname and int location (assembly) so instance of class can be created later
Declaration
public static void RegisterAssemblyBuildInfoSaver<T1, T2>() where T1 : IBuildInfoSaver where T2 : IBuildInfoSaverProps
Type Parameters
Name | Description |
---|---|
T1 | |
T2 |
RegisterAssemblyCompiler<T1, T2>()
Add accordance of classname and int location (assembly) so instance of class can be created later
Declaration
public static void RegisterAssemblyCompiler<T1, T2>() where T1 : ICompiler where T2 : ICompilerProps
Type Parameters
Name | Description |
---|---|
T1 | |
T2 |
RegisterAssemblyCopierBuildResults<T1, T2>()
Add accordance of classname and int location (assembly) so instance of class can be created later
Declaration
public static void RegisterAssemblyCopierBuildResults<T1, T2>() where T1 : ICopierBuildResults where T2 : ICopierBuildResultsProps
Type Parameters
Name | Description |
---|---|
T1 | |
T2 |
RegisterAssemblyDeployer<T1, T2>()
Add accordance of classname and int location (assembly) so instance of class can be created later
Declaration
public static void RegisterAssemblyDeployer<T1, T2>() where T1 : IDeployer where T2 : IDeployerProps
Type Parameters
Name | Description |
---|---|
T1 | |
T2 |
RegisterAssemblyProjectRestorer<T1, T2>()
Add accordance of classname and int location (assembly) so instance of class can be created later
Declaration
public static void RegisterAssemblyProjectRestorer<T1, T2>() where T1 : IProjectRestorer where T2 : IProjectRestorerProps
Type Parameters
Name | Description |
---|---|
T1 | |
T2 |
RegisterAssemblySourceHashCalculator<T1, T2>()
Add accordance of classname and int location (assembly) so instance of class can be created later
Declaration
public static void RegisterAssemblySourceHashCalculator<T1, T2>() where T1 : ISourceHashCalculator where T2 : ISourceHashCalculatorProps
Type Parameters
Name | Description |
---|---|
T1 | |
T2 |