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
Value
value of the parameter object for benchmark used internally (e.g. by the InProcessToolchain)
public object Value { get; }
Property Value
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()