The MockedEvent type exposes the following members.
Methods
| Name | Description | |
|---|---|---|
| Fire |
Fire a mocked event
| |
| GetEventHandle |
Retrieve the EventHandle
|
Properties
| Name | Description | |
|---|---|---|
| Instance |
Retrieve the IMockedEvent when more than one instance of the event published is mocked
The first instance to register to the event will be in index 0, the next instance in 1 and so on. This is used to simulate firing the event. | |
| InstanceCount |
Return the number of instances registered to this mocked event. See Instance
|