Table of Contents

Class BenchmarkContext

Namespace
Codebelt.Extensions.BenchmarkDotNet.Console
Assembly
Codebelt.Extensions.BenchmarkDotNet.Console.dll

Represents the command-line context for a benchmark run.

public class BenchmarkContext
Inheritance
BenchmarkContext

Constructors

BenchmarkContext(string[])

Initializes a new instance of the BenchmarkContext class.

public BenchmarkContext(string[] args)

Parameters

args string[]

The command-line arguments passed to the BenchmarkProgram.

Properties

Args

Gets the command-line arguments passed to the BenchmarkProgram.

public string[] Args { get; }

Property Value

string[]

The command-line arguments.