Пример #1
0
        public void InitializeDictionary()
        {
            string path = AppDomain.CurrentDomain.BaseDirectory;

            _dict  = new mAdcOW.DataStructures.Dictionary <Customer, int>(path);
            _dict2 = new mAdcOW.DataStructures.Dictionary <Customer, Customer>(path);
        }
Пример #2
0
 public void CleanupDictionary()
 {
     _dict  = null;
     _dict2 = null;
     GC.WaitForPendingFinalizers();
     GC.Collect();
 }
 public static void InitializeDictionary()
 {
     if (_dict == null)
     {
         string path = AppDomain.CurrentDomain.BaseDirectory;
         _dict = new mAdcOW.DataStructures.Dictionary <int, TestFixture>(path);
     }
 }
Пример #4
0
        public static void InitializeDictionary(TestContext testContext)
        {
            string path = AppDomain.CurrentDomain.BaseDirectory;

            _dict = new mAdcOW.DataStructures.Dictionary <int, TestClass>(path);
        }