Lokad SDK for .NET - Documentation
That Method (check, message, arguments)
NamespacesLokadEnforceThat(Boolean, String, array<Object>[]()[])
Throws exception if the check does not pass.
Declaration Syntax
C#Visual BasicVisual C++
public static void That(
	bool check,
	string message,
	params Object[] arguments
)
Public Shared Sub That ( _
	check As Boolean, _
	message As String, _
	ParamArray arguments As Object() _
)
public:
static void That(
	bool check, 
	String^ message, 
	... array<Object^>^ arguments
)
Parameters
check (Boolean)
if set to true then check will pass.
message (String)
The message.
arguments (array< Object >[]()[])
The format arguments.
Exceptions
ExceptionCondition
InvalidOperationExceptionIf the assertion has failed.

Assembly: Lokad.Sdk (Module: Lokad.Sdk) Version: 2.4.669.0 (2.4.669.0)