Class OperatingSystemsFilterAttribute
Implements
Inherited Members
Namespace: BenchmarkDotNet.Attributes
Assembly: BenchmarkDotNet.dll
Syntax
public class OperatingSystemsFilterAttribute : FilterConfigBaseAttribute, IConfigSource
Constructors
OperatingSystemsFilterAttribute()
Declaration
public OperatingSystemsFilterAttribute()
OperatingSystemsFilterAttribute(Boolean, OS[])
Declaration
public OperatingSystemsFilterAttribute(bool allowed, params OS[] platforms)
Parameters
Type | Name | Description |
---|---|---|
Boolean | allowed | if set to true, the OSes beloning to platforms are enabled, if set to false, disabled |
OS[] | platforms | the platform(s) for which the filter should be applied |