Table of Contents

Interface IPreFilter

Namespace
NUnit.Framework.Interfaces
Assembly
nunit.framework.dll

Implemented by filters for use in deciding which Types and Methods should be used to generate tests.

public interface IPreFilter

Methods

IsMatch(Type)

Use the filter on a Type, returning true if the type matches the filter and should therefore be included in the discovery process.

bool IsMatch(Type type)

Parameters

type Type

Returns

bool

IsMatch(Type, MethodInfo)

Use the filter on a Type, returning true if the type matches the filter and should therefore be included in the discovery process.

bool IsMatch(Type type, MethodInfo method)

Parameters

type Type
method MethodInfo

Returns

bool