This week only. Pastebin PRO Accounts Christmas Special! Don't miss out!Want more features on Pastebin? Sign Up, it's FREE!
Guest

Untitled

By: a guest on Oct 24th, 2013  |  syntax: C#  |  size: 0.46 KB  |  views: 51  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1.    public class ImageList
  2.    {
  3.       public string title;
  4.       public string value;
  5.    }
  6.  
  7.    public string tinyMCE_image_list
  8.    {
  9.       get
  10.       {
  11.          var image_list = new List<ImageList>
  12.          {
  13.             new ImageList{title = "img-001", value = "../images/img-001.jpg"},
  14.             new ImageList{title = "img-002", value = "../images/img-002.jpg"}
  15.          };
  16.  
  17.          return JsonSerializer.SerializeToString(image_list);
  18.       }
  19.    }
clone this paste RAW Paste Data