Example #1
0
 public static void Detach()
 {
     _errorListener.ErrorCaught -= OnErrorCaught;
     _errorListener.Dispose();
     _errorListener = null;
 }
Example #2
0
 public static void Attach()
 {
     _errorListener = new BindingErrorListener();
     _errorListener.ErrorCaught += OnErrorCaught;
 }