Click or drag to resize
weroSoft AG, Software
UnitTestInvoke 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.0 Pre-Release
Syntax
C#
public static Object Invoke(
	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.

Return Value

Type: Object

[Missing <returns> documentation for "M:WeroSoft.UnitTesting.UnitTest.Invoke(System.Object,System.String,System.Object[])"]

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