Class OrFilter
Combines multiple filters so that a test must pass one of them in order to pass this filter.
public class OrFilter : TestFilter, ITestFilter- Inheritance
- 
      
      
      OrFilter
- Implements
- Inherited Members
Constructors
OrFilter()
Constructs an empty OrFilter
public OrFilter()OrFilter(params ITestFilter[])
Constructs an AndFilter from an array of filters
public OrFilter(params ITestFilter[] filters)Parameters
- filtersITestFilter[]
Properties
Filters
Return an array of the composing filters
public ITestFilter[] Filters { get; }Property Value
Methods
Add(ITestFilter)
Adds a filter to the list of filters
public void Add(ITestFilter filter)Parameters
- filterITestFilter
- The filter to be added 
Match(ITest)
Checks whether the OrFilter is matched by a test
public override bool Match(ITest test)Parameters
- testITest
- The test to be matched 
Returns
- bool
- True if any of the component filters match, otherwise false 
Pass(ITest)
Checks whether the OrFilter is matched by a test
public override bool Pass(ITest test)Parameters
- testITest
- The test to be matched 
Returns
- bool
- True if any of the component filters pass, otherwise false