Class BaselineCustomColumn
- Namespace
- BenchmarkDotNet.Columns
- Assembly
- BenchmarkDotNet.dll
public abstract class BaselineCustomColumn : IColumn
- Inheritance
-
BaselineCustomColumn
- Implements
- Derived
- Extension Methods
Constructors
BaselineCustomColumn()
protected BaselineCustomColumn()
Properties
AlwaysShow
public bool AlwaysShow { get; }
Property Value
Category
public virtual ColumnCategory Category { get; }
Property Value
ColumnName
Display column title in the summary.
public abstract string ColumnName { get; }
Property Value
Id
An unique identifier of the column.
public abstract string Id { get; }
Property Value
IsNumeric
Defines if the column's value represents a number
public abstract bool IsNumeric { get; }
Property Value
Legend
Column description.
public abstract string Legend { get; }
Property Value
PriorityInCategory
Defines order of column in the same category.
public abstract int PriorityInCategory { get; }
Property Value
UnitType
Defines how to format column's value
public abstract UnitType UnitType { get; }
Property Value
Methods
GetValue(Summary, BenchmarkCase)
Value in this column formatted using the default style.
public string GetValue(Summary summary, BenchmarkCase benchmarkCase)
Parameters
summarySummarybenchmarkCaseBenchmarkCase
Returns
GetValue(Summary, BenchmarkCase, Statistics, IReadOnlyDictionary<string, Metric>, Statistics, IReadOnlyDictionary<string, Metric>, bool)
public abstract string GetValue(Summary summary, BenchmarkCase benchmarkCase, Statistics baseline, IReadOnlyDictionary<string, Metric> baselineMetrics, Statistics current, IReadOnlyDictionary<string, Metric> currentMetrics, bool isBaseline)
Parameters
summarySummarybenchmarkCaseBenchmarkCasebaselineStatisticsbaselineMetricsIReadOnlyDictionary<string, Metric>currentStatisticscurrentMetricsIReadOnlyDictionary<string, Metric>isBaselinebool
Returns
GetValue(Summary, BenchmarkCase, SummaryStyle)
Value in this column formatted using the specified style.
public string GetValue(Summary summary, BenchmarkCase benchmarkCase, SummaryStyle style)
Parameters
summarySummarybenchmarkCaseBenchmarkCasestyleSummaryStyle
Returns
IsAvailable(Summary)
public bool IsAvailable(Summary summary)
Parameters
summarySummary
Returns
IsDefault(Summary, BenchmarkCase)
public bool IsDefault(Summary summary, BenchmarkCase benchmarkCase)
Parameters
summarySummarybenchmarkCaseBenchmarkCase
Returns
ToString()
public override string ToString()