Class 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 |