Table of Contents

Class ReflectionEventSubscriber

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

Subscribes methods with a single argument to events of that single argument's type.

public sealed class ReflectionEventSubscriber : IEventSubscriber
Inheritance
ReflectionEventSubscriber
Implements
Inherited Members

Constructors

ReflectionEventSubscriber(object, string, BindingFlags)

Initializes a new instance of the ReflectionEventSubscriber class.

Methods

TryGetEventHandler<TEvent>(out Action<TEvent>)

Tries to get an event handler for an event of type TEvent.