Interface ICompiler
Proceeds stateless tasks, which should help to build projects
Namespace: BuildSystem.ProjectList
Assembly: BuildSystem.ManagerObject.Interfaces.dll
Syntax
public interface ICompiler
Properties
Props
Properties of helper object
Declaration
ICompilerProps Props { get; }
Property Value
| Type | Description |
|---|---|
| ICompilerProps |
Methods
GetCompileQueue(IProjectList, ProjectFilter?)
Analyze projects and dependencies between them. Return queue of projects, which should be compiled
Declaration
Queue<IProject> GetCompileQueue(IProjectList projectList, ProjectFilter? filter = null)
Parameters
| Type | Name | Description |
|---|---|---|
| IProjectList | projectList | |
| ProjectFilter | filter |
Returns
| Type | Description |
|---|---|
| System.Collections.Generic.Queue<><IProject> |
GetCompileReason(IProject, Variant, IProjectList, Dictionary<string, string?>)
Analyze project to understand, if it should be compiled
Declaration
string? GetCompileReason(IProject project, Variant variant, IProjectList projects, Dictionary<string, string?> analyzeParams)
Parameters
| Type | Name | Description |
|---|---|---|
| IProject | project | |
| Variant | variant | |
| IProjectList | projects | |
| System.Collections.Generic.Dictionary<,><string, string> | analyzeParams |
Returns
| Type | Description |
|---|---|
| string | String representation of reason, why project should be compiled. Null if project should not be compiled |