Search Results for

    Show / Hide Table of Contents

    Interface IPreFilter

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

    Namespace: NUnit.Framework.Interfaces
    Assembly: nunit.framework.dll
    Syntax
    public interface IPreFilter

    Methods

    View Source

    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.

    Declaration
    bool IsMatch(Type type)
    Parameters
    Type Name Description
    Type type
    Returns
    Type Description
    bool
    View Source

    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.

    Declaration
    bool IsMatch(Type type, MethodInfo method)
    Parameters
    Type Name Description
    Type type
    MethodInfo method
    Returns
    Type Description
    bool
    • View Source
    In this article
    Back to top Generated by DocFX | Copyright (c) 2018- The NUnit Project - Licensed under CC BY-NC-SA 4.0