public AdminController() { sectionService = new ContentSectionService(); postService = new ContentPostService(); tempPostService = new ContentTempPostService(); ntService = new NotificationService(); msgService = new MessageService(); }
public MicroblogService() { feedService = new FeedService(); nfService = new NotificationService(); friendService = new FriendService(); followerService = new FollowerService(); }
public NotificationController() { notificationService = new NotificationService(); friendService = new FriendService(); this.LayoutControllerType = typeof( MsgController ); }
public UserService() { currencyService = new CurrencyService(); roleService = new SiteRoleService(); userIncomeService = new UserIncomeService(); ntService = new NotificationService(); hashTool = new HashTool(); }
private string getSiteNotification() { if (ctx.viewer.obj.Id != SiteRole.Administrator.Id) return ""; int newCount = new NotificationService().GetUnReadCount( Site.Instance.Id, typeof( Site ).FullName ); if (newCount <= 0) return ""; User user = (User)ctx.viewer.obj; String lnk = Link.To( user, new Users.Admin.SiteNfController().List ); return string.Format( "<a href=\"{0}\">通知(<span id=\"siteNotificationText\">{1}</span>)</a>", lnk, newCount ); }
public ForumPostService() { forumService = new ForumService(); categoryService = new ForumCategoryService(); boardService = new ForumBoardService(); topicService = new ForumTopicService(); userService = new UserService(); forumLogService = new ForumLogService(); rateService = new ForumRateService(); attachmentService = new AttachmentService(); msgService = new MessageService(); incomeService = new UserIncomeService(); notificationService = new NotificationService(); microblogService = new MicroblogService(); }
public FriendService() { notificationService = new NotificationService(); userService = new UserService(); }
public FeedService() { friendService = new FriendService(); followerService = new FollowerService(); nfService = new NotificationService(); }
public ShareService() { fs = new FriendService(); feedService = new FeedService(); nfService = new NotificationService(); }
public OpenCommentService() { nfService = new NotificationService(); }
public FeedbackService() { nfService = new NotificationService(); microblogService = new MicroblogService(); }
public MicroblogCommentService() { nfService = new NotificationService(); }
public PageController() { pageService = new PageService(); userService = new UserService(); nfService = new NotificationService(); }
public FeedbackService() { feedService = new FeedService(); nfService = new NotificationService(); }