Event arguments that are received for the MockMethodCalled.
Inheritance Hierarchy
SystemEventArgs
TypeMockMockMethodCallEventArgs
Namespace: TypeMock
Assembly: TypeMock (in TypeMock.dll) Version: 9.3.6.0 (9.3.6.0)
Syntax
The MockMethodCallEventArgs type exposes the following members.
Properties
Name | Description | |
---|---|---|
![]() | CalledMethodName |
Name of method that was called
|
![]() | CalledType |
Type in which the method was called from
|
![]() | Exception |
This is the exception that will be thrown (null unless WillThrowException
is true.
|
![]() | ExpectedArguments |
Array of the expected arguments sent to the Args method (see IParameters )
|
![]() | HasPassedValidation |
This is true if the method has passed all validations
|
![]() | IsStaticMethod |
This is true if the method is static
|
![]() | ReturnValue |
The mocked return value (null if WillThrowException is true)
|
![]() | SentArguments |
Array of the Argument that where went
|
![]() | WillThrowException |
This is true if the mocked method will throw an exception,
Either because the exception was mocked (see ExpectAndThrow(String, Exception, Type) or
because of a validation exception.
|
Methods
Name | Description | |
---|---|---|
![]() | Equals | (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.) |
Remarks
See Also