public static void Setup()
 {
     Bootstrapper.Run();
     _settingsService = Container.Windsor.Resolve<SettingsService>();
     _twitterClient = Container.Windsor.Resolve<TwitterClient>();
     _twitterClient.CurrentlyLoggedInUserSettings = _settingsService.GetSettings();
 }
 public ProStudioTweetPackageController(IRepository<Settings> settingsRepo, IRepository<User> userRepo, IRepository<DirectMessage> directMessageRepo, IRepository<Tweet> tweetRepo, SettingsService settingsService, TwitterClient twitterClient)
 {
     _settingsRepo = settingsRepo;
     _userRepo = userRepo;
     _directMessageRepo = directMessageRepo;
     _tweetRepo = tweetRepo;
     _settingsService = settingsService;
     _twitterClient = twitterClient;
 }
 public DebugViewModel(TwitterClient twitterClient, SettingsService settingsService)
 {
     _twitterClient = twitterClient;
     _settingsService = settingsService;
     Settings = new List<Settings>();
     CurrentlyLoggedInUser = new List<User>();
     CurrentlyLoggedInUserSettings = new List<Settings>();
     this.Settings.Add(_settingsService.GetSettings());
     this.CurrentlyLoggedInUser.Add(_twitterClient.CurrentlyLoggedInUser);
     this.CurrentlyLoggedInUserSettings.Add(_twitterClient.CurrentlyLoggedInUserSettings);
 }
 /// <summary>
 /// </summary>
 public TwitterClient(IRepository<Settings> settingsRepo,
                      IRepository<User> userRepo,
                      IRepository<DirectMessage> directMessageRepo,
                      IRepository<Tweet> tweetRepo,
                      SettingsService settingsService
     )
 {
     _settingsRepo = settingsRepo;
     _settingsRepo = settingsRepo;
     _userRepo = userRepo;
     _directMessageRepo = directMessageRepo;
     _tweetRepo = tweetRepo;
     _settingsService = settingsService;
     CurrentlyLoggedInUserSettings = new Settings();
 }