ReflectionUtilities.

GetGenericInterfaceArguments(Type, Type) Method

Summary

If `type` implements the `interfaceType` this method returns the generic arguments it uses for that interface.
Assembly
Weaver.dll
Namespace
Weaver
Containing Type
ReflectionUtilities

Syntax

public static Type[] GetGenericInterfaceArguments(Type type, Type interfaceType)

Parameters

Name Type Description
type Type
interfaceType Type

Return Value

Type Description
Type[]