internal static Dictionary <string, string> GetTrollFlags() { if (troll_flags != null) { return(troll_flags); } GetBoardsResponse boardsResponse = MakeRequest <GetBoardsResponse>("boards.json"); troll_flags = boardsResponse.troll_flags; boards = boardsResponse.boards; return(troll_flags); }
public static IEnumerable <Board> GetBoards() { if (boards != null) { return(boards); } GetBoardsResponse boardsResponse = MakeRequest <GetBoardsResponse>("boards.json"); troll_flags = boardsResponse.troll_flags; boards = boardsResponse.boards; return(boards); }