Table of Contents

Class EnumParam

Namespace
BenchmarkDotNet.Code
Assembly
BenchmarkDotNet.dll
public class EnumParam : IParam
Inheritance
EnumParam
Implements

Properties

DisplayText

used to display the value (e.g. in summary in Params column)

public string DisplayText { get; }

Property Value

string

Value

value of the parameter object for benchmark used internally (e.g. by the InProcessToolchain)

public object Value { get; }

Property Value

object

Methods

ToSourceCode()

this source code is used to create parameter for benchmark in C# source code file example: $"new Point2D({Value.X}, {Value.Y})"

public string ToSourceCode()

Returns

string