Class Runtime
- Namespace
- BenchmarkDotNet.Environments
- Assembly
- BenchmarkDotNet.dll
public abstract class Runtime : IEquatable<Runtime>
- Inheritance
-
Runtime
- Implements
- Derived
Constructors
Runtime(RuntimeMoniker, string, string)
protected Runtime(RuntimeMoniker runtimeMoniker, string msBuildMoniker, string displayName)
Parameters
runtimeMoniker
RuntimeMonikermsBuildMoniker
stringdisplayName
string
Properties
IsAOT
public virtual bool IsAOT { get; }
Property Value
MsBuildMoniker
MsBuild Target Framework Moniker, example: net462, netcoreapp2.1
public string MsBuildMoniker { get; }
Property Value
Name
Display name
public string Name { get; }
Property Value
RuntimeMoniker
Target Framework Moniker
public RuntimeMoniker RuntimeMoniker { get; }
Property Value
Methods
Equals(Runtime)
public bool Equals(Runtime other)
Parameters
other
Runtime
Returns
Equals(object)
public override bool Equals(object obj)
Parameters
obj
object
Returns
GetHashCode()
public override int GetHashCode()
Returns
ToString()
public override string ToString()