public void Clear_Test() { PDFDictionary target = new PDFDictionary(); PDFName key = new PDFName("Item1"); IFileObject value = new PDFNumber(1); target.Add(key, value); PDFName key2 = new PDFName("Item2"); target.Add(key2, value); Assert.AreEqual(2, target.Count); target.Clear(); Assert.AreEqual(0, target.Count); }
internal void Clear() { Dictionary.Clear(); }