Show / Hide Table of Contents

Interface IHost

Namespace: BenchmarkDotNet.Engines
Assembly: BenchmarkDotNet.dll
Syntax
public interface IHost

Methods

ReportResults(RunResults)

Declaration
void ReportResults(RunResults runResults)
Parameters
Type Name Description
RunResults runResults

SendError(String)

Declaration
void SendError(string message)
Parameters
Type Name Description
String message

SendSignal(HostSignal)

Declaration
void SendSignal(HostSignal hostSignal)
Parameters
Type Name Description
HostSignal hostSignal

Write(String)

Declaration
void Write(string message)
Parameters
Type Name Description
String message

WriteLine()

Declaration
void WriteLine()

WriteLine(String)

Declaration
void WriteLine(string message)
Parameters
Type Name Description
String message

Extension Methods

HostExtensions.WriteLine(IHost, String, Object[])
HostExtensions.BeforeAnythingElse(IHost)
HostExtensions.BeforeMainRun(IHost)
HostExtensions.AfterMainRun(IHost)
HostExtensions.AfterAll(IHost)
In This Article
Back to top Copyright © 2013–2021 .NET Foundation and contributors