public string GetBookmarkInfoUrlAddedByTab()
        {
            var url = string.Format("{0}&{1}={2}",
                                    BookmarkingServiceHelper.GenerateBookmarkInfoUrl(URL),
                                    BookmarkingRequestConstants.SelectedTab,
                                    BookmarkingRequestConstants.SelectedTabBookmarkAddedBy
                                    );

            return(url);
        }
 public string GetUserBookmarkDescriptionIfChanged(object o)
 {
     try
     {
         if (o is UserBookmark)
         {
             var ub = o as UserBookmark;
             return(Bookmark != null
                        ? BookmarkingServiceHelper.GetUserBookmarkDescriptionIfChanged(Bookmark, ub)
                        : BookmarkingServiceHelper.GetUserBookmarkDescriptionIfChanged(ub));
         }
     }
     catch
     {
     }
     return(string.Empty);
 }
 public string GetUserPageLink(object userID)
 {
     return(BookmarkingServiceHelper.GetUserPageLink(new Guid(userID.ToString())));
 }
        public string GetUserImage(object userID)
        {
            var user = GetUserInfoByUserID(userID);

            return(BookmarkingServiceHelper.GetHTMLUserAvatar(user.ID));
        }
 public string GetBookmarkInfoUrl()
 {
     return(BookmarkingServiceHelper.GenerateBookmarkInfoUrl(URL));
 }
 public string GetMediumThumbnailUrl()
 {
     return(BookmarkingServiceHelper.GetMediumThumbnailUrl(URL));
 }
Exemple #7
0
 private string GetThumbnailUrl(BookmarkingThumbnailSize size)
 {
     return(BookmarkingServiceHelper.GetThumbnailUrl(URL, size));
 }