docs.unity.cn
Search Results for

    Show / Hide Table of Contents

    Method GetImplementationsOfInterface

    GetImplementationsOfInterface(Type, List<Type>)

    Finds all types that implement the given interface type and appends them to a list. If the input type is not an interface type, no action is taken.

    Declaration
    public static void GetImplementationsOfInterface(this Type type, List<Type> list)
    Parameters
    Type Name Description
    Type type

    The interface type whose implementors are to be found.

    List<Type> list

    The list to which implementors are to 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)