If Listener is not set, Null Ref occurs
phillijw opened this issue · comments
Joe Phillips commented
I see two ways around this:
- Set a default Listener in the constructor that just doesn't do anything
- Check if the listener is null and throw a better exception than a null ref (or don't call the listener which would get annoying to do in every spot)