Provides support for attaching a MockedEvent<(Of <(TEventArgs>)>) to
a generic EventHandler event.
Namespace:
MoqAssembly: Moq (in Moq.dll) Version: 2.6.1121.2 (2.6.0.0)
Syntax
| C# |
|---|
public static implicit operator EventHandler<TEventArgs> ( MockedEvent<TEventArgs> mockEvent ) |
Parameters
- mockEvent
- Type: Moq..::.MockedEvent<(Of <(TEventArgs>)>)
Event to convert.