Class SourceHashCalculatorCommon
Common realization of ISourceHashCalculator
Inheritance
object
SourceHashCalculatorCommon
Implements
Namespace: BuildSystem.ProjectList.Helpers
Assembly: BuildSystem.ProjectList.dll
Syntax
public class SourceHashCalculatorCommon : Object, ISourceHashCalculator
Constructors
SourceHashCalculatorCommon(ILogger?, ISourceHashCalculatorProps, string)
Common realization of ICompiler
Declaration
public SourceHashCalculatorCommon(ILogger? logger, ISourceHashCalculatorProps props, string tempDir)
Parameters
Type | Name | Description |
---|---|---|
ILogger | logger | |
ISourceHashCalculatorProps | props | |
string | tempDir |
Properties
Props
Properties
Declaration
public ISourceHashCalculatorProps Props { get; }
Property Value
Type | Description |
---|---|
ISourceHashCalculatorProps |
Methods
CalcHash(IProject, Variant, IProjectList, Dictionary<string, string?>)
Calculates hash of source files with some specific logic
Declaration
public string? CalcHash(IProject project, Variant variant, IProjectList projects, Dictionary<string, string?> calcParams)
Parameters
Type | Name | Description |
---|---|---|
IProject | project | |
Variant | variant | |
IProjectList | projects | |
System.Collections.Generic.Dictionary<,><string, string> | calcParams |
Returns
Type | Description |
---|---|
string |