Пример #1
0
 public static void NotifyOfCrossThreadDependency()
 {
     if (Debugger.IsAttached)
     {
         CrossThreadDependencyNotification notification = new CrossThreadDependencyNotification();
         CustomNotification(notification);
     }
 }
Пример #2
0
        private static void NotifyOfCrossThreadDependencySlow()
        {
            CrossThreadDependencyNotification notification = new CrossThreadDependencyNotification();

            CustomNotification(notification);
            if (s_triggerThreadAbortExceptionForDebugger)
            {
                throw new ThreadAbortException();
            }
        }
Пример #3
0
 private static void NotifyOfCrossThreadDependencySlow()
 {
     CrossThreadDependencyNotification notification = new CrossThreadDependencyNotification();
     CustomNotification(notification);
 }
Пример #4
0
 public static void NotifyOfCrossThreadDependency()
 { 
     CrossThreadDependencyNotification notification = new CrossThreadDependencyNotification();
     CustomNotification(notification); 
 } 
Пример #5
0
        private static void NotifyOfCrossThreadDependencySlow()
        {
            CrossThreadDependencyNotification notification = new CrossThreadDependencyNotification();

            CustomNotification(notification);
        }
Пример #6
0
 public static void NotifyOfCrossThreadDependency()
 {
     if (Debugger.IsAttached)
     {
         CrossThreadDependencyNotification notification = new CrossThreadDependencyNotification();
         CustomNotification(notification);
     }
 }
Пример #7
0
        public static void NotifyOfCrossThreadDependency()
        {
            CrossThreadDependencyNotification data = new CrossThreadDependencyNotification();

            CustomNotification(data);
        }
 public static void NotifyOfCrossThreadDependency()
 {
     CrossThreadDependencyNotification data = new CrossThreadDependencyNotification();
     CustomNotification(data);
 }