docs.unity3d.com
    Show / Hide Table of Contents

    Class TypeExtensions

    Inheritance
    Object
    TypeExtensions
    Namespace: Unity.MARS.MARSUtils
    Syntax
    [MovedFrom("Unity.MARS.Interfaces")]
    public static class TypeExtensions

    Methods

    GetImplementationsOfInterface(Type, List<Type>)

    Find all types that implement the given interface type, and append 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 will be found

    List<Type> list

    The list to which implementors will be appended

    Back to top
    Copyright © 2023 Unity Technologies — Terms of use
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)
    "Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
    Generated by DocFX on 18 October 2023