Beispiel #1
0
 /// <summary>
 /// Gets all the snippets for a given board
 /// </summary>
 /// <param name="board">if board is set to -1 then it will grab the current board in TempBoard</param>
 /// <returns>the array</returns>
 public Snippet[] GetAllSnippets(int board = -1)
 {
     return(JsonHelper.getJsonArray <Snippet>(base.Get(URLConfig.BASEURL + baseTable + "s/" + (board == -1 ? URLConfig.TempBoardId : board))));
 }