示例#1
0
 public static NoticeService GetInstance()
 {
     if (noticeService == null)
     {
         noticeService    = new NoticeService();
         communityService = CommunityService.GetInstance();
     }
     return(noticeService);
 }
 public FacebookMessagesService(INotices noticeProxy)
 {
     _noticeService          = new NoticeService();
     _friendManager          = new FriendManager();
     _accountManager         = new AccountManager();
     _accountSettingsManager = new AccountSettingsManager();
     _seleniumManager        = new SeleniumManager();
     _notice = noticeProxy;
 }
示例#3
0
 public WinksService(INotices noticeProxy)
 {
     _noticesService           = new NoticeService();
     _notice                   = noticeProxy;
     _accountManager           = new AccountManager();
     _friendManager            = new FriendManager();
     _accountSettingsManager   = new AccountSettingsManager();
     _accountStatisticsManager = new StatisticsManager();
     _seleniumManager          = new SeleniumManager();
     _analysisFriendsManager   = new AnalysisFriendsManager();
 }