Class ReflectionEventSubscriber

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

Namespace

MongoDB.Driver.Core.Events

Assembly

MongoDB.Driver.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(out Action)

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