示例#1
0
 public MainPage()
 {
     InitializeComponent();
     this.btnConnexion.Clicked += Connection_Clicked;
     this.tweetList.IsVisible   = false;
     this.error.IsVisible       = false;
     this.twitterService        = new TwitterService();
 }
 public SubscriptionController(IUserService userService, ITwitterServices twitterService, IAlgoService algoService)
 {
     _userService    = userService;
     _twitterService = twitterService;
     _accountDb      = new ApplicationDbContext();
     _alogService    = algoService;
     //var _accountDb = DependencyResolver.Current.GetService<AccountController>();
 }
 public AlgoService(ITwitterServices twitterService,
                    IUserService userService,
                    ISpotifyServices spotifyService,
                    IInstagramServices instagramService,
                    IPinterestServices pinterestService,
                    IDeezerServices deezerService)
 {
     _twitterService   = twitterService;
     _userService      = userService;
     _deezerService    = deezerService;
     _pinterestService = pinterestService;
     _instagramService = instagramService;
     _spotifyService   = spotifyService;
 }
示例#4
0
 public TwitterController(ITwitterServices twitterService, IUserService userService)
 {
     _twitterService = twitterService;
     _userService    = userService;
 }