Constructor SingleEventSubscriber
| MongoDB CSharp Driver API Reference (original) (raw)
Namespace
Assembly
MongoDB.Driver.dll
SingleEventSubscriber(Action)
Initializes a new instance of the SingleEventSubscriber class.
public SingleEventSubscriber(Action<TSingleEvent> handler)
Parameters
handler
Action
The handler.