Telerik® JustMock™ by Progress

Calls the specified generic method by name.

Namespace: Telerik.JustMock
Assembly: Telerik.JustMock (in Telerik.JustMock.dll) Version: 2013.3.1021.0 (2013.3.1021.0)

Syntax

C#
public Object CallMethodWithTypeArguments(
	string name,
	ICollection<Type> typeArguments,
	params Object[] args
)
Visual Basic
Public Function CallMethodWithTypeArguments ( _
	name As String, _
	typeArguments As ICollection(Of Type), _
	ParamArray args As Object() _
) As Object

Parameters

name
Type: System..::..String
The name of the method to call.
typeArguments
Type: System.Collections.Generic..::..ICollection<(Of <(<'Type>)>)>
The type arguments to specialize the generic method.
args
Type: array<System..::..Object>[]()[][]
Arguments to pass to the method.

Return Value

The value returned by the specified method.

See Also