Advertisement
Guest User

Untitled

a guest
Oct 24th, 2013
302
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C# 0.46 KB | None | 0 0
  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.    }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement