Show / Hide Table of Contents

Class CharacteristicHelper

Inheritance
Object
CharacteristicHelper
Namespace: BenchmarkDotNet.Characteristics
Assembly: BenchmarkDotNet.dll
Syntax
public static class CharacteristicHelper

Methods

GetAllCharacteristics(CharacteristicObject)

Declaration
public static IReadOnlyList<Characteristic> GetAllCharacteristics(this CharacteristicObject obj)
Parameters
Type Name Description
CharacteristicObject obj
Returns
Type Description
IReadOnlyList<Characteristic>

GetAllCharacteristics(Type)

Declaration
public static IReadOnlyList<Characteristic> GetAllCharacteristics(Type characteristicObjectType)
Parameters
Type Name Description
Type characteristicObjectType
Returns
Type Description
IReadOnlyList<Characteristic>

GetAllPresentableCharacteristics(Type, Boolean)

Declaration
public static IReadOnlyList<Characteristic> GetAllPresentableCharacteristics(Type characteristicObjectType, bool includeIgnoreOnApply = false)
Parameters
Type Name Description
Type characteristicObjectType
Boolean includeIgnoreOnApply
Returns
Type Description
IReadOnlyList<Characteristic>

GetThisTypeCharacteristics(CharacteristicObject)

Declaration
public static IReadOnlyList<Characteristic> GetThisTypeCharacteristics(this CharacteristicObject obj)
Parameters
Type Name Description
CharacteristicObject obj
Returns
Type Description
IReadOnlyList<Characteristic>

GetThisTypeCharacteristics(Type)

Declaration
public static IReadOnlyList<Characteristic> GetThisTypeCharacteristics(Type characteristicObjectType)
Parameters
Type Name Description
Type characteristicObjectType
Returns
Type Description
IReadOnlyList<Characteristic>

IsPresentableCharacteristic(Characteristic, Boolean)

Declaration
public static bool IsPresentableCharacteristic(this Characteristic c, bool includeIgnoreOnApply = false)
Parameters
Type Name Description
Characteristic c
Boolean includeIgnoreOnApply
Returns
Type Description
Boolean
In This Article
Back to top Copyright © 2013–2021 .NET Foundation and contributors