private static bool TryLoadShortcuts() { try { _shortcuts = JsonConvert.DeserializeObject <NCS_String_Dictionary>(File.ReadAllText(Config.Current.ShortcutLocation)); return(true); } catch { _shortcuts = new NCS_String_Dictionary(); return(false); } }
public static void Flush() { _base = new List <Meme>(); _shortcuts = new NCS_String_Dictionary(); UpdateURLs(); }