TestClassExtensions..::..CallGenericMethod Method
Calls the generic method.
Namespace:
FastMoq.ExtensionsAssembly: FastMoq.Core (in FastMoq.Core.dll)
Syntax
public static Object CallGenericMethod( Type typeParameter, Object obj, string methodName, Type[] parameterTypes, Object[] parameters )
Parameters
- typeParameter
- Type: Type
The type parameter.
- obj
- Type: Object
The object.
- methodName
- Type: String
Name of the method.
- parameterTypes
- Type: array<Type>[]()[][]
The parameter types.
- parameters
- Type: array<Object>[]()[][]
The parameters.