Example #1
0
 public Subscriber(RegexProcessor rgxp, KeysCallback callback, Assembly ass)
 {
     _regexProcessor = rgxp ?? throw new ArgumentNullException("RegexProcessor rgxp");
     _callback       = callback ?? throw new ArgumentNullException($"KeysCallback callback");
     _ass            = ass ?? throw new ArgumentNullException("Assembly ass");
 }
Example #2
0
 public Subscriber(RegexProcessor rgxp, MethodInfo methodInfo, Assembly ass)
     : this(rgxp, ToKeysCallback(methodInfo), ass)
 {
 }