Exemplo n.º 1
0
        public void Clear()
        {
            PackTwoKeyDictionary ptkd = new PackTwoKeyDictionary();
            TwoKeyDictionary <string, int, int> tkd = ptkd.GetLoadedTwoKeyDictionary(POPSIZE);

            Assert.AreEqual(POPSIZE, tkd.Count);
            tkd.Clear();
            Assert.AreEqual(0, tkd.Count);
        }
Exemplo n.º 2
0
        // Event handlers

        private void manager_Reloaded(object sender, PluginErrorEventArgs e)
        {
            fileCache.Clear();
        }
Exemplo n.º 3
0
 /// <summary>
 /// clears the stored translations
 /// </summary>
 public static void Clear()
 {
     dictionaries.Clear();
 }