Class that contains information about the called instance
Inheritance Hierarchy
TypeMockMethodCallContext
Namespace: TypeMock
Assembly: TypeMock (in TypeMock.dll) Version: 9.3.8.0 (9.3.8.0)
Syntax
The MethodCallContext type exposes the following members.
Properties
| Name | Description | |
|---|---|---|
| ContinueFakingThisMethodRecursively |
Allow recursive calls to this faked method to be faked and reenter DoInstead lambda
| |
| Instance |
Reference to the mocked object instance, or null if the method is static
| |
| Method |
The method being faked
| |
| Parameters |
Array of parameters passed to mocked method
|
Methods
| Name | Description | |
|---|---|---|
| Equals | Determines whether the specified Object is equal to the current Object. (Inherited from Object.) | |
| Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
| GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) | |
| GetType | Gets the Type of the current instance. (Inherited from Object.) | |
| MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
| ToString | Returns a string that represents the current object. (Inherited from Object.) | |
| WillCallOriginal |
Use this to call the original method after exiting DoInstead.
|
See Also