Constructor SingleEventSubscriber

| MongoDB CSharp Driver API Reference (original) (raw)

Namespace

MongoDB.Driver.Core.Events

Assembly

MongoDB.Driver.dll

SingleEventSubscriber(Action)

Initializes a new instance of the SingleEventSubscriber class.

public SingleEventSubscriber(Action<TSingleEvent> handler)

Parameters

handler Action

The handler.