Class Descriptor
Assembly: BenchmarkDotNet.dll
Syntax
Constructors
Descriptor(Type, MethodInfo, MethodInfo, MethodInfo, MethodInfo, MethodInfo, String, String, Boolean, String[], Int32, Int32)
Declaration
public Descriptor(Type type, MethodInfo workloadMethod, MethodInfo globalSetupMethod = null, MethodInfo globalCleanupMethod = null, MethodInfo iterationSetupMethod = null, MethodInfo iterationCleanupMethod = null, string description = null, string additionalLogic = null, bool baseline = false, string[] categories = null, int operationsPerInvoke = 1, int methodIndex = 0)
Parameters
Properties
AdditionalLogic
Declaration
public string AdditionalLogic { get; }
Property Value
Baseline
Declaration
public bool Baseline { get; }
Property Value
Categories
Declaration
public string[] Categories { get; }
Property Value
DisplayInfo
Declaration
public string DisplayInfo { get; }
Property Value
FolderInfo
Declaration
public string FolderInfo { get; }
Property Value
GlobalCleanupMethod
Declaration
public MethodInfo GlobalCleanupMethod { get; }
Property Value
GlobalSetupMethod
Declaration
public MethodInfo GlobalSetupMethod { get; }
Property Value
IterationCleanupMethod
Declaration
public MethodInfo IterationCleanupMethod { get; }
Property Value
IterationSetupMethod
Declaration
public MethodInfo IterationSetupMethod { get; }
Property Value
MethodIndex
Declaration
public int MethodIndex { get; }
Property Value
OperationsPerInvoke
Declaration
public int OperationsPerInvoke { get; }
Property Value
Type
Declaration
public Type Type { get; }
Property Value
WorkloadMethod
Declaration
public MethodInfo WorkloadMethod { get; }
Property Value
WorkloadMethodDisplayInfo
Declaration
public string WorkloadMethodDisplayInfo { get; }
Property Value
Methods
GetFilterName()
Declaration
public string GetFilterName()
Returns
HasCategory(String)
Declaration
public bool HasCategory(string category)
Parameters
Type |
Name |
Description |
String |
category |
|
Returns
ToString()
Declaration
public override string ToString()
Returns
Overrides