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