 |
UnitTestInvokeTResult Method (Type, String, Object) |
The documentation is integral part of the weroSoft product documentation. This part is intended to be used by developers only.
Invokes a static method on a particular type.
Namespace:
WeroSoft.UnitTesting
Assembly:
WeroSoft.UnitTesting.Library (in WeroSoft.UnitTesting.Library.dll) Version: 3.0 Pre-Release
Syntaxpublic static TResult Invoke<TResult>(
Type targetType,
string methodName,
params Object[] parameters
)
Parameters
- targetType
- Type: SystemType
The type on which the invocation shall be performed. - 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.Type,System.String,System.Object[])"]
Return Value
Type:
TResultThe return value from the method call.
See Also