Class CsProjGenerator
Inheritance
CsProjGenerator
Assembly: BenchmarkDotNet.dll
public class CsProjGenerator : DotNetCliGenerator, IGenerator, IEquatable<CsProjGenerator>
Constructors
Declaration
public CsProjGenerator(string targetFrameworkMoniker, string cliPath, string packagesPath, string runtimeFrameworkVersion, bool isNetCore = true)
Parameters
Properties
Declaration
public string RuntimeFrameworkVersion { get; }
Property Value
Methods
Declaration
public bool Equals(CsProjGenerator other)
Parameters
Returns
Declaration
public override bool Equals(object obj)
Parameters
Type |
Name |
Description |
Object |
obj |
|
Returns
Overrides
Declaration
protected override void GenerateProject(BuildPartition buildPartition, ArtifactsPaths artifactsPaths, ILogger logger)
Parameters
Overrides
Declaration
protected override string GetBinariesDirectoryPath(string buildArtifactsDirectoryPath, string configuration)
Parameters
Type |
Name |
Description |
String |
buildArtifactsDirectoryPath |
|
String |
configuration |
|
Returns
Overrides
Declaration
protected override string GetBuildArtifactsDirectoryPath(BuildPartition buildPartition, string programName)
Parameters
Returns
Overrides
Declaration
public override int GetHashCode()
Returns
Overrides
Declaration
protected override string GetProjectFilePath(string buildArtifactsDirectoryPath)
Parameters
Type |
Name |
Description |
String |
buildArtifactsDirectoryPath |
|
Returns
Overrides
returns a path to the project file which defines the benchmarks
Declaration
protected virtual FileInfo GetProjectFilePath(Type benchmarkTarget, ILogger logger)
Parameters
Type |
Name |
Description |
Type |
benchmarkTarget |
|
ILogger |
logger |
|
Returns
returns an MSBuild string that defines Runtime settings
Declaration
protected virtual string GetRuntimeSettings(GcMode gcMode, IResolver resolver)
Parameters
Returns
Implements