Table of Contents

Constructor SingleEventSubscriber

Namespace
MongoDB.Driver.Core.Events
Assembly
MongoDB.Driver.dll

SingleEventSubscriber(Action<TSingleEvent>)

Initializes a new instance of the SingleEventSubscriber<TSingleEvent> class.

public SingleEventSubscriber(Action<TSingleEvent> handler)

Parameters

handler Action<TSingleEvent>

The handler.