/// <summary>
 /// Stop listening WPF binding error
 /// </summary>
 public static void Detach()
 {
     errorListener.ErrorCatched -= OnErrorCatched;
     errorListener.Dispose();
     errorListener = null;
 }
Exemplo n.º 2
0
 /// <summary>
 /// Stop listening WPF binding error
 /// </summary>
 public static void Detach()
 {
     errorListener.ErrorCatched -= OnErrorCatched;
     errorListener.Dispose();
     errorListener = null;
 }
 /// <summary>
 /// Start listening WPF binding error
 /// </summary>
 public static void Attach()
 {
     errorListener = new BindingErrorListener();
     errorListener.ErrorCatched += OnErrorCatched;
 }
Exemplo n.º 4
0
 /// <summary>
 /// Start listening WPF binding error
 /// </summary>
 public static void Attach()
 {
     errorListener = new BindingErrorListener();
     errorListener.ErrorCatched += OnErrorCatched;
 }