Show / Hide Table of Contents

Class BenchmarkAction

Common API to run the Setup/Clean/Idle/Run methods

Inheritance
Object
BenchmarkAction
Namespace: BenchmarkDotNet.Toolchains.InProcess
Assembly: BenchmarkDotNet.dll
Syntax
[Obsolete("Please use BenchmarkDotNet.Toolchains.InProcess.NoEmit.* classes")]
public abstract class BenchmarkAction

Properties

InvokeMultiple

Gets or sets invoke multiple times callback.

Declaration
public Action<long> InvokeMultiple { get; protected set; }
Property Value
Type Description
Action<Int64>

Invoke multiple times callback.

InvokeSingle

Gets or sets invoke single callback.

Declaration
public Action InvokeSingle { get; protected set; }
Property Value
Type Description
Action

Invoke single callback.

LastRunResult

Gets the last run result.

Declaration
public virtual object LastRunResult { get; }
Property Value
Type Description
Object

The last run result.

In This Article
Back to top Copyright © 2013–2021 .NET Foundation and contributors