Table of Contents

Class AnyCategoriesFilter

Namespace
BenchmarkDotNet.Filters
Assembly
BenchmarkDotNet.dll

Filter benchmarks which have any of the target categories

public class AnyCategoriesFilter : IFilter
Inheritance
AnyCategoriesFilter
Implements

Constructors

AnyCategoriesFilter(string[])

public AnyCategoriesFilter(string[] targetCategories)

Parameters

targetCategories string[]
Filter benchmarks which have any of the target categories

Methods

Predicate(BenchmarkCase)

public bool Predicate(BenchmarkCase benchmarkCase)

Parameters

benchmarkCase BenchmarkCase
Filter benchmarks which have any of the target categories

Returns

bool
Filter benchmarks which have any of the target categories