Пример #1
0
        public void TestDuplicateElements2()
        {
            SynchronizedNotifyingCollection <string> collection = new SynchronizedNotifyingCollection <string>(true, false);

            collection.Add("a");
            collection.Add("b");
            collection.Insert(1, collection[0]);
        }
 public void TestNullElements2()
 {
     SynchronizedNotifyingCollection<string> collection = new SynchronizedNotifyingCollection<string>(false, true);
       collection.Insert(0, null);
 }
 public void TestDuplicateElements2()
 {
     SynchronizedNotifyingCollection<string> collection = new SynchronizedNotifyingCollection<string>(true, false);
       collection.Add("a");
       collection.Add("b");
       collection.Insert(1, collection[0]);
 }
Пример #4
0
        public void TestNullElements2()
        {
            SynchronizedNotifyingCollection <string> collection = new SynchronizedNotifyingCollection <string>(false, true);

            collection.Insert(0, null);
        }