The MethodCallContext type exposes the following members.

Methods

  NameDescription
WillCallOriginal
Use this to call the original method after exiting DoInstead.

Properties

  NameDescription
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

See Also