public static void EnsureCollected(params WeakReference[] references)
        {
#if !NETFX_CORE
            DispatcherHelper.DoEvents();
#endif
            GCTestHelper.EnsureCollected(references);
        }
        public static void CollectOptional(params WeakReference[] references)
        {
#if !NETFX_CORE
            DispatcherHelper.DoEvents();
#endif
            GCTestHelper.CollectOptional(references);
        }
示例#3
0
 public static void EnsureCollected(params WeakReference[] references)
 {
     DispatcherHelper.DoEvents(DispatcherPriority.ApplicationIdle);
     GCTestHelper.EnsureCollected(references);
 }
示例#4
0
 public static void CollectOptional(params WeakReference[] references)
 {
     DispatcherHelper.DoEvents(DispatcherPriority.ApplicationIdle);
     GCTestHelper.CollectOptional(references);
 }
示例#5
0
 public static void EnsureCollected(params WeakReference[] references)
 {
     DispatcherHelper.DoEvents();
     GCTestHelper.EnsureCollected(references);
 }
示例#6
0
 public static void CollectOptional(params WeakReference[] references)
 {
     DispatcherHelper.DoEvents();
     GCTestHelper.CollectOptional(references);
 }