Search Results for

    Show / Hide Table of Contents

    Interface IReflectionInfo

    The IReflectionInfo interface is implemented by NUnit wrapper objects that perform reflection.

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

    Methods

    View Source

    GetCustomAttributes<T>(bool)

    Returns an array of custom attributes of the specified type applied to this object

    Declaration
    T[] GetCustomAttributes<T>(bool inherit) where T : class
    Parameters
    Type Name Description
    bool inherit
    Returns
    Type Description
    T[]
    Type Parameters
    Name Description
    T
    View Source

    IsDefined<T>(bool)

    Returns a value indicating whether an attribute of the specified type is defined on this object.

    Declaration
    bool IsDefined<T>(bool inherit) where T : class
    Parameters
    Type Name Description
    bool inherit
    Returns
    Type Description
    bool
    Type Parameters
    Name Description
    T
    • 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