Table of Contents

Struct BenchmarkId

Namespace
BenchmarkDotNet.Running
Assembly
BenchmarkDotNet.dll

represents an internal entity used to identify a benchmark within an executable with multiple benchmarks

public struct BenchmarkId

Constructors

BenchmarkId(int, BenchmarkCase)

public BenchmarkId(int value, BenchmarkCase benchmarkCase)

Parameters

value int
represents an internal entity used to identify a benchmark within an executable with multiple benchmarks
benchmarkCase BenchmarkCase
represents an internal entity used to identify a benchmark within an executable with multiple benchmarks

Properties

Value

public readonly int Value { get; }

Property Value

int
represents an internal entity used to identify a benchmark within an executable with multiple benchmarks

Methods

Equals(BenchmarkId)

public bool Equals(BenchmarkId other)

Parameters

other BenchmarkId
represents an internal entity used to identify a benchmark within an executable with multiple benchmarks

Returns

bool
represents an internal entity used to identify a benchmark within an executable with multiple benchmarks

Equals(object)

public override bool Equals(object obj)

Parameters

obj object
represents an internal entity used to identify a benchmark within an executable with multiple benchmarks

Returns

bool
represents an internal entity used to identify a benchmark within an executable with multiple benchmarks

GetHashCode()

public override int GetHashCode()

Returns

int
represents an internal entity used to identify a benchmark within an executable with multiple benchmarks

ToArguments()

public string ToArguments()

Returns

string
represents an internal entity used to identify a benchmark within an executable with multiple benchmarks

ToArguments(string, string)

public string ToArguments(string fromBenchmark, string toBenchmark)

Parameters

fromBenchmark string
represents an internal entity used to identify a benchmark within an executable with multiple benchmarks
toBenchmark string
represents an internal entity used to identify a benchmark within an executable with multiple benchmarks

Returns

string
represents an internal entity used to identify a benchmark within an executable with multiple benchmarks

ToString()

public override string ToString()

Returns

string
represents an internal entity used to identify a benchmark within an executable with multiple benchmarks