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
ParameterDefinitionvalue
objectsummaryStyle
SummaryStyle
Fields
NullParameterTextRepresentation
public const string NullParameterTextRepresentation = "?"
Field Value
Properties
Definition
public ParameterDefinition Definition { get; }
Property Value
IsArgument
public bool IsArgument { get; }
Property Value
IsStatic
public bool IsStatic { get; }
Property Value
Name
public string Name { get; }
Property Value
Value
public object Value { get; }
Property Value
Methods
Dispose()
public void Dispose()
ToDisplayText()
public string ToDisplayText()
Returns
ToDisplayText(SummaryStyle)
public string ToDisplayText(SummaryStyle summary)
Parameters
summary
SummaryStyle
Returns
ToSourceCode()
public string ToSourceCode()
Returns
ToString()
public override string ToString()