public void CleanupDictionary()
 {
     _dict = null;
     _dict2 = null;
     GC.WaitForPendingFinalizers();
     GC.Collect();
 }
 public void CleanupDictionary()
 {
     _dict  = null;
     _dict2 = null;
     GC.WaitForPendingFinalizers();
     GC.Collect();
 }
        public void InitializeDictionary()
        {
            string path = AppDomain.CurrentDomain.BaseDirectory;

            _dict  = new MMDataStructures.Dictionary <Customer, int>(path);
            _dict2 = new MMDataStructures.Dictionary <Customer, Customer>(path);
        }
Ejemplo n.º 4
0
 public static void InitializeDictionary()
 {
     if (_dict == null)
     {
         string path = AppDomain.CurrentDomain.BaseDirectory;
         _dict = new MMDataStructures.Dictionary <int, TestFixture>(path);
     }
 }
 public static void InitializeDictionary()
 {
     if (_dict == null)
     {
         string path = AppDomain.CurrentDomain.BaseDirectory;
         _dict = new MMDataStructures.Dictionary<int, TestFixture>(path);
     }
 }
 public void InitializeDictionary()
 {
     string path = AppDomain.CurrentDomain.BaseDirectory;
     _dict = new MMDataStructures.Dictionary<Customer, int>(path);
     _dict2 = new MMDataStructures.Dictionary<Customer, Customer>(path);
 }