Creates a mirror for the specified object.

Namespace:  MbUnit.Framework
Assembly:  MbUnit (in MbUnit.dll) Version: 3.3.0.0 (3.3.610.0)

Syntax

C#
public static Mirror ForObject(
	Object instance
)
Visual Basic (Declaration)
Public Shared Function ForObject ( _
	instance As Object _
) As Mirror

Parameters

instance
Type: System..::.Object
The object instance, or null.

Return Value

The new mirror.

Exceptions

ExceptionCondition
System..::.ArgumentNullExceptionThrown if instance is null.

See Also