Table of Contents

Class OperatingSystemsFilterAttribute

Namespace
BenchmarkDotNet.Attributes
Assembly
BenchmarkDotNet.dll
public class OperatingSystemsFilterAttribute : FilterConfigBaseAttribute, IConfigSource
Inheritance
OperatingSystemsFilterAttribute
Implements
Inherited Members

Constructors

OperatingSystemsFilterAttribute()

public OperatingSystemsFilterAttribute()

OperatingSystemsFilterAttribute(bool, params OS[])

public OperatingSystemsFilterAttribute(bool allowed, params OS[] platforms)

Parameters

allowed bool

if set to true, the OSes belonging to platforms are enabled, if set to false, disabled

platforms OS[]

the platform(s) for which the filter should be applied