Table of Contents

Class ParameterInstance

Namespace
BenchmarkDotNet.Parameters
Assembly
BenchmarkDotNet.dll
public class ParameterInstance : IDisposable
Inheritance
ParameterInstance
Implements

Constructors

ParameterInstance(ParameterDefinition, object, SummaryStyle)

public ParameterInstance(ParameterDefinition definition, object value, SummaryStyle summaryStyle)

Parameters

definition ParameterDefinition
value object
summaryStyle SummaryStyle

Fields

NullParameterTextRepresentation

public const string NullParameterTextRepresentation = "?"

Field Value

string

Properties

Definition

public ParameterDefinition Definition { get; }

Property Value

ParameterDefinition

IsArgument

public bool IsArgument { get; }

Property Value

bool

IsStatic

public bool IsStatic { get; }

Property Value

bool

Name

public string Name { get; }

Property Value

string

Value

public object Value { get; }

Property Value

object

Methods

Dispose()

public void Dispose()

ToDisplayText()

public string ToDisplayText()

Returns

string

ToDisplayText(SummaryStyle)

public string ToDisplayText(SummaryStyle summary)

Parameters

summary SummaryStyle

Returns

string

ToSourceCode()

public string ToSourceCode()

Returns

string

ToString()

public override string ToString()

Returns

string