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); }
// Event handlers private void manager_Reloaded(object sender, PluginErrorEventArgs e) { fileCache.Clear(); }
/// <summary> /// clears the stored translations /// </summary> public static void Clear() { dictionaries.Clear(); }