Click or drag to resize
weroSoft AG, Software
UnitTestCreateMessage Method (String, Object)
The documentation is integral part of the weroSoft product documentation. This part is intended to be used by developers only.
Creates a message like it is performed by the method string.Format().

Namespace:  WeroSoft.UnitTesting
Assembly:  WeroSoft.UnitTesting.Library (in WeroSoft.UnitTesting.Library.dll) Version: 3.0 Pre-Release
Syntax
C#
public static string CreateMessage(
	string format,
	params Object[] arguments
)

Parameters

format
Type: SystemString
A composite format string.
arguments
Type: SystemObject
An object array that contains zero or more objects to format.

Return Value

Type: String
A copy of format in which the format items have been replaced by the string representation of the corresponding objects in arguments.
Remarks
The difference on this method is that no exception is thrown if something is wrong with the parameter, but a message is formatted containing all data.
See Also