Class CoreRuntime
- Namespace
- BenchmarkDotNet.Environments
- Assembly
- BenchmarkDotNet.dll
public class CoreRuntime : Runtime, IEquatable<Runtime>
- Inheritance
-
CoreRuntime
- Implements
- Inherited Members
Fields
Core20
public static readonly CoreRuntime Core20
Field Value
Core21
public static readonly CoreRuntime Core21
Field Value
Core22
public static readonly CoreRuntime Core22
Field Value
Core30
public static readonly CoreRuntime Core30
Field Value
Core31
public static readonly CoreRuntime Core31
Field Value
Core50
public static readonly CoreRuntime Core50
Field Value
Core60
public static readonly CoreRuntime Core60
Field Value
Core70
public static readonly CoreRuntime Core70
Field Value
Core80
public static readonly CoreRuntime Core80
Field Value
Core90
public static readonly CoreRuntime Core90
Field Value
Properties
IsPlatformSpecific
public bool IsPlatformSpecific { get; }
Property Value
Latest
public static CoreRuntime Latest { get; }
Property Value
Methods
CreateForNewVersion(string, string)
use this method if you want to target .NET version not supported by current version of BenchmarkDotNet. Example: .NET 10
public static CoreRuntime CreateForNewVersion(string msBuildMoniker, string displayName)
Parameters
msBuildMoniker
stringmsbuild moniker, example: net10.0
displayName
stringdisplay name used by BDN to print the results
Returns
- CoreRuntime
new runtime information