Table of Contents

Class CategoriesColumn

Namespace
BenchmarkDotNet.Columns
Assembly
BenchmarkDotNet.dll
public class CategoriesColumn : IColumn
Inheritance
CategoriesColumn
Implements
Extension Methods

Constructors

CategoriesColumn()

public CategoriesColumn()

Fields

Default

public static readonly IColumn Default

Field Value

IColumn

Properties

AlwaysShow

public bool AlwaysShow { get; }

Property Value

bool

Category

public ColumnCategory Category { get; }

Property Value

ColumnCategory

ColumnName

Display column title in the summary.

public string ColumnName { get; }

Property Value

string

Id

An unique identifier of the column. If there are several columns with the same Id, only one of them will be shown in the summary.

public string Id { get; }

Property Value

string

IsNumeric

Defines if the column's value represents a number

public bool IsNumeric { get; }

Property Value

bool

Legend

Column description.

public string Legend { get; }

Property Value

string

PriorityInCategory

Defines order of column in the same category.

public int PriorityInCategory { get; }

Property Value

int

UnitType

Defines how to format column's value

public UnitType UnitType { get; }

Property Value

UnitType

Methods

GetValue(Summary, BenchmarkCase)

Value in this column formatted using the default style.

public string GetValue(Summary summary, BenchmarkCase benchmarkCase)

Parameters

summary Summary
benchmarkCase BenchmarkCase

Returns

string

GetValue(Summary, BenchmarkCase, SummaryStyle)

Value in this column formatted using the specified style.

public string GetValue(Summary summary, BenchmarkCase benchmarkCase, SummaryStyle style)

Parameters

summary Summary
benchmarkCase BenchmarkCase
style SummaryStyle

Returns

string

IsAvailable(Summary)

public bool IsAvailable(Summary summary)

Parameters

summary Summary

Returns

bool

IsDefault(Summary, BenchmarkCase)

public bool IsDefault(Summary summary, BenchmarkCase benchmarkCase)

Parameters

summary Summary
benchmarkCase BenchmarkCase

Returns

bool