Method GetGenericTypeBindings
- Namespace
- Bonsai
- Assembly
- Bonsai.Core.dll
GetGenericTypeBindings(Type, Type)
Returns an array of Type objects that represent the bounded type parameters resulting from matching the specified generic type with a concrete type.
public static Type[] GetGenericTypeBindings(Type genericType, Type type)
Parameters
genericType
TypeThe generic type definition used to test for bindings.
type
TypeThe Type used to bind against
genericType
.