Class EventMonitor<TArgs>
- Namespace
- CarinaStudio.Tests
- Assembly
- CarinaStudio.AppBase.Tests.dll
Class to monitor whether specific event has been raised or not.
public class EventMonitor<TArgs> : EventMonitor<EventHandler<TArgs>, TArgs>, IDisposable where TArgs : EventArgs
Type Parameters
TArgsType of event data.
- Inheritance
-
EventMonitor<EventHandler<TArgs>, TArgs>EventMonitor<TArgs>
- Implements
- Inherited Members
- Extension Methods
Constructors
EventMonitor(object, string)
Initialize new EventMonitor<TArgs> for instance event.
public EventMonitor(object target, string eventName)
Parameters
EventMonitor(Type, string)
Initialize new EventMonitor<TArgs> for static event.
public EventMonitor(Type type, string eventName)