Click or drag to resize

ReflectionEventSubscriber Constructor

Initializes a new instance of the ReflectionEventSubscriber class.

Namespace:  MongoDB.Driver.Core.Events
Assembly:  MongoDB.Driver.Core (in MongoDB.Driver.Core.dll) Version: 2.6.0+Branch.origin/v2.6.x.Sha.593796a7b35dc59243383bcc684de296a5468f2e
Syntax
public ReflectionEventSubscriber(
	Object instance,
	string methodName = "Handle",
	BindingFlags bindingFlags = BindingFlags.Default|BindingFlags.Instance|BindingFlags.Public
)

Parameters

instance
Type: SystemObject
The instance.
methodName (Optional)
Type: SystemString
Name of the method to match against.
bindingFlags (Optional)
Type: System.ReflectionBindingFlags
The binding flags.
See Also