Click or drag to resize
weroSoft AG, Software
UnitTestInvokeTResult Method (Object, String, Object)
The documentation is integral part of the weroSoft product documentation. This part is intended to be used by developers only.
Invokes a method on an object by reflection.

Namespace:  WeroSoft.UnitTesting
Assembly:  WeroSoft.UnitTesting.Library (in WeroSoft.UnitTesting.Library.dll) Version: 3.22.8.1 (3.22.0814.1)
Syntax
C#
public static TResult Invoke<TResult>(
	this Object targetObject,
	string methodName,
	params Object[] parameters
)

Parameters

targetObject
Type: SystemObject
Target object on which the method shall be invoked.
methodName
Type: SystemString
Name of the method to be invoked.
parameters
Type: SystemObject
Parameters to be put on the method invoke.

Type Parameters

TResult

[Missing <typeparam name="TResult"/> documentation for "M:WeroSoft.UnitTesting.UnitTest.Invoke``1(System.Object,System.String,System.Object[])"]

Return Value

Type: TResult
The return value from the method call.

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type Object. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).
See Also