public TwitterAccountAppService(
     ISocialAccountService socialAccountService,
     ITwitterAuthService twitterAuthService
     )
 {
     _socialAccountService = socialAccountService;
     _twitterAuthService   = twitterAuthService;
 }
示例#2
0
 public SocialAccountService(
     ISiteSocialAccountRepository siteSocialAccountRepo,
     IRepository <SocialUser> socialUserRepo,
     IFbClient fbClient,
     ITwitterAuthService twitterAuthService
     )
 {
     _siteSocialAccountRepo = siteSocialAccountRepo;
     _socialUserRepo        = socialUserRepo;
     _fbClient           = fbClient;
     _twitterAuthService = twitterAuthService;
 }
示例#3
0
 public TweetService(ITwitterAuthService twitterAuthService, IDatabase database)
 {
     _twitterAuthService = twitterAuthService;
     _database           = database;
 }