ObjectState Methods

Typemock Isolator Developer Guide

The ObjectState type exposes the following members.

Methods

  NameDescription
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetField(String)
Gets the value of a non-public field (member variable) of the managed type.
Public methodStatic memberGetField(Object, String)
Gets the value of a non-public field (member variable) of an instance.
Public methodStatic memberGetField(Type, String)
Gets the value of a non-public static field (member variable) of a type.
Public methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodResetState
Reset the fields back to their original state
Public methodSetField(String, Object)
Sets the value of a non-public field (member variable) of the managed type.
Public methodStatic memberSetField(Object, String, Object)
Sets the value of a non-public field (member variable) of an instance.
Public methodStatic memberSetField(Type, String, Object)
Sets the value of a non-public static field (member variable) of a type.
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
See Also

Reference