docs.unity.cn
Search Results for

    Show / Hide Table of Contents

    Method GetGenericInterfaces

    GetGenericInterfaces(Type, Type, List<Type>)

    Searches through all interfaces implemented by this type and, if any of them match the given generic interface, appends them to a list.

    Declaration
    public static void GetGenericInterfaces(this Type type, Type genericInterface, List<Type> interfaces)
    Parameters
    Type Name Description
    Type type

    The type whose interfaces will be searched.

    Type genericInterface

    The generic interface used to match implemented interfaces.

    List<Type> interfaces

    The list to which generic interfaces will be appended.

    In This Article
    Back to top
    Copyright © 2024 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookie Policy
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)