Assert Method (Boolean)

Lidgren.Network

Collapse imageExpand ImageCopy imageCopyHover image
Throws an exception, in DEBUG only, if first parameter is false

Namespace: Lidgren.Network
Assembly: Lidgren.Network (in Lidgren.Network.dll) Version: 2012.1.7.0 (2012.1.7.0)

Syntax

C#
public static void Assert(
	bool isOk
)
Visual Basic
Public Shared Sub Assert ( _
	isOk As Boolean _
)
Visual C++
public:
static void Assert(
	bool isOk
)

Parameters

isOk
Type: System..::..Boolean

[Missing <param name="isOk"/> documentation for "M:Lidgren.Network.NetException.Assert(System.Boolean)"]

See Also