Table of Contents

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 RuntimeMoniker
msBuildMoniker string
displayName string

Properties

IsAOT

public virtual bool IsAOT { get; }

Property Value

bool

MsBuildMoniker

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

public string MsBuildMoniker { get; }

Property Value

string

Name

Display name

public string Name { get; }

Property Value

string

RuntimeMoniker

Target Framework Moniker

public RuntimeMoniker RuntimeMoniker { get; }

Property Value

RuntimeMoniker

Methods

Equals(Runtime)

public bool Equals(Runtime other)

Parameters

other Runtime

Returns

bool

Equals(object)

public override bool Equals(object obj)

Parameters

obj object

Returns

bool

GetHashCode()

public override int GetHashCode()

Returns

int

ToString()

public override string ToString()

Returns

string