Constructor ReflectionEventSubscriber
ReflectionEventSubscriber(object, string, BindingFlags)
Initializes a new instance of the ReflectionEventSubscriber class.
public ReflectionEventSubscriber(object instance, string methodName = "Handle", BindingFlags bindingFlags = BindingFlags.Instance | BindingFlags.Public)
Parameters
instance
objectThe instance.
methodName
stringName of the method to match against.
bindingFlags
BindingFlagsThe binding flags.