Show / Hide Table of Contents

Class Runtime

Inheritance
Object
Runtime
ClrRuntime
CoreRuntime
MonoAotLLVMRuntime
MonoRuntime
NativeAotRuntime
WasmRuntime
Implements
IEquatable<Runtime>
Namespace: BenchmarkDotNet.Environments
Assembly: BenchmarkDotNet.dll
Syntax
public abstract class Runtime : IEquatable<Runtime>

Constructors

Runtime(RuntimeMoniker, String, String)

Declaration
protected Runtime(RuntimeMoniker runtimeMoniker, string msBuildMoniker, string displayName)
Parameters
Type Name Description
RuntimeMoniker runtimeMoniker
String msBuildMoniker
String displayName

Properties

IsAOT

Declaration
public virtual bool IsAOT { get; }
Property Value
Type Description
Boolean

MsBuildMoniker

MsBuild Target Framework Moniker, example: net462, netcoreapp2.1

Declaration
public string MsBuildMoniker { get; }
Property Value
Type Description
String

Name

Display name

Declaration
public string Name { get; }
Property Value
Type Description
String

RuntimeMoniker

Target Framework Moniker

Declaration
public RuntimeMoniker RuntimeMoniker { get; }
Property Value
Type Description
RuntimeMoniker

Methods

Equals(Runtime)

Declaration
public bool Equals(Runtime other)
Parameters
Type Name Description
Runtime other
Returns
Type Description
Boolean

Equals(Object)

Declaration
public override bool Equals(object obj)
Parameters
Type Name Description
Object obj
Returns
Type Description
Boolean
Overrides
Object.Equals(Object)

GetHashCode()

Declaration
public override int GetHashCode()
Returns
Type Description
Int32
Overrides
Object.GetHashCode()

ToString()

Declaration
public override string ToString()
Returns
Type Description
String
Overrides
Object.ToString()

Implements

System.IEquatable<T>
In This Article
Back to top Copyright © 2013–2021 .NET Foundation and contributors