Class CoreRuntime
Assembly: BenchmarkDotNet.dll
Syntax
public class CoreRuntime : Runtime, IEquatable<Runtime>
Fields
Core20
Declaration
public static readonly CoreRuntime Core20
Field Value
Core21
Declaration
public static readonly CoreRuntime Core21
Field Value
Core22
Declaration
public static readonly CoreRuntime Core22
Field Value
Core30
Declaration
public static readonly CoreRuntime Core30
Field Value
Core31
Declaration
public static readonly CoreRuntime Core31
Field Value
Core50
Declaration
public static readonly CoreRuntime Core50
Field Value
Core60
Declaration
public static readonly CoreRuntime Core60
Field Value
Core70
Declaration
public static readonly CoreRuntime Core70
Field Value
Properties
Declaration
public bool IsPlatformSpecific { get; }
Property Value
Latest
Declaration
public static CoreRuntime Latest { get; }
Property Value
Methods
CreateForNewVersion(String, String)
use this method if you want to target .NET Core version not supported by current version of BenchmarkDotNet. Example: .NET Core 10
Declaration
public static CoreRuntime CreateForNewVersion(string msBuildMoniker, string displayName)
Parameters
Type |
Name |
Description |
String |
msBuildMoniker |
msbuild moniker, example: netcoreapp10.0
|
String |
displayName |
display name used by BDN to print the results
|
Returns
Implements