Creates a mirror for the specified object.
Namespace:
MbUnit.FrameworkAssembly: 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
| Exception | Condition |
|---|---|
| System..::.ArgumentNullException | Thrown if instance is null. |
