public HomeController(ICategoryService categoryService, ILocationService locationService, IProjectService projectService, SiteSettings siteSettings, ISuccessStoryService successStoryService, ITweetService tweetService, IWebHelper webHelper) { _categoryService = categoryService; _locationService = locationService; _projectService = projectService; _siteSettings = siteSettings; _successStoryService = successStoryService; _tweetService = tweetService; _webHelper = webHelper; }
public ViewModelBase() { var container = (Application.Current.Resources["bootstrapper"] as AppBootstrapper).Container; this.navigationService = container.GetInstance(typeof(INavigationService), null) as INavigationService; this.eventAggregator = container.GetInstance(typeof(IEventAggregator), null) as IEventAggregator; this.storageService = container.GetInstance(typeof(IStorageService), null) as IStorageService; var proxy = storageService.GetCurrentProxySetting(); if (proxy != null) { this.tweetService = container.GetInstance(typeof(ITweetService), proxy.Name) as ITweetService; } this.progressService = container.GetInstance(typeof(ProgressService), null) as ProgressService; this.toastMessageService = container.GetInstance(typeof(ToastMessageService), null) as ToastMessageService; this.languageHelper = Application.Current.Resources["LanguageHelper"] as LanguageHelper; }
public TweetApiController(ITweetService tweetService) { _tweetService = tweetService; }
public ProfileChangedMessageHandler(ITweetService tweetService) { _tweetService = tweetService; }
public HomeController(IUserService userService, ITwitterService twitterService, ITweetService tweetService) { this.userService = userService ?? throw new ArgumentNullException(nameof(userService)); this.twitterService = twitterService ?? throw new ArgumentNullException(nameof(twitterService)); this.tweetService = tweetService ?? throw new ArgumentNullException(nameof(tweetService)); }
public ManageController(ITweetService service) { this.service = service; }
public TweetController(ITweetService tweetService, IUserService userService) { _tweetService = tweetService; _userService = userService; }
public HomeController(ITweetService service) { this.service = service; }
/// <summary> /// Get a list of dashboards, and the tweets that belong to that dashboard. /// </summary> /// <param name="dashboards">A list of dashboards.</param> /// <param name="tweetService">An instance of <see cref="ITweetService"/>.</param> /// <returns></returns> public static async Task <List <DashboardAndTweetsResult> > GetDashboardAndTweetsAsync(List <Dashboard> dashboards, ITweetService tweetService) { List <DashboardAndTweetsResult> dashboardAndTweets = new List <DashboardAndTweetsResult>(); // Go through each dashboard & get the tweets. foreach (var dashboard in dashboards) { // Find the tweets for the dashboard. var tweets = await tweetService.GetByDashboardAsync(dashboard.Id); // Add them to the response. dashboardAndTweets.Add(new DashboardAndTweetsResult(dashboard, tweets)); } return(dashboardAndTweets); }
public TweetController(ITweetService service) { _service = service; }
public TwitterController() { _tweetService = new TweetService(); _userService = new UserService(); }
public TweetController() { _tweetService = new TweetService(); _userService = new UserService(); }
public TweetController(ITweetService tweetService) => this._tweetService = tweetService;
public HomeController(ITweetService tweets) { this.tweets = tweets; }
public TweetsController(ITweetService IServiceTweets) { this._IServiceTweets = IServiceTweets; }
public ProfileController(IAppUserService userService, IRetweetService retweetService, ITweetService tweetService) { _userService = userService; _retweetService = retweetService; _tweetService = tweetService; }
public NewUserMessageHandler(ITweetService tweetService) { _tweetService = tweetService; }
public TwitterController(IUserService userService, ITweetService tweetService) { _tweetService = tweetService; _userService = userService; }
public UsersController(ILogger <UsersController> logger, UserManager <AppUser> userManager, ITweetService tweetService) { _logger = logger; _userManager = userManager; _tweetService = tweetService; }
public TweetController(ITweetService tweetService, IUserService userService, IMapper mapper) { _tweetService = tweetService; _userService = userService; _mapper = mapper; }
public TweetController(ITweetService service, IPersonService personService) { this.service = service; this.personService = personService; }
public ConcertsController(IConcertService concertService, ITweetService tweetService) { _concertService = concertService; _tweetService = tweetService; }
public TweetsController(ITweetService tweetService, IMappingProvider mapper) { this.tweetService = tweetService ?? throw new ArgumentNullException(nameof(tweetService)); this.mapper = mapper ?? throw new ArgumentNullException(nameof(mapper)); }
public Seeder(IUserService userService, ITweetService tweetService) { _userService = userService; _tweetService = tweetService; }
public AddTweetController(ITweetService tweetService, ITwitterApiService twitterApiService, UserManager <User> userManager) { this.tweetService = tweetService; this.twitterApiService = twitterApiService; this.userManager = userManager; }
public UserService(IUserDao userContext, IFollowService followContext, ITweetService tweetContext) { this.userContext = userContext; this.followContext = followContext; this.tweetContext = tweetContext; }
public TweetController(ITweetService tweetService) { this.tweetService = tweetService; }
public TweetController(ITweetService _tweetService, IUserService _userService, IFollowService _followService) { this.tweetService = _tweetService; this.userService = _userService; this.followService = _followService; }
public TweetsController(ITweetService service) { this.service = service; }
public TweetController(ITweetService service, IMapper mapper, ILogger <TweetController> logger) { _tweetService = service; _mapper = mapper; _logger = logger; }
public UnApproveTweetMessageHandler(ITweetService tweetService) { _tweetService = tweetService; }
public UsersController(IUserRepository userRepository, IMapper mapper, ITweetService tweetService) { _userRepository = userRepository; _mapper = mapper; _tweetService = tweetService; }
public TweetController(ITweetService tweetService, ResolverHelper.LikeServiceResolver likeService) { _tweetService = tweetService; _likeService = likeService(ConcreteLikeServiceImplementationEnum.Tweet); }
public TwitterPulseController(ILogger <TwitterPulseController> logger, ITweetService datastore) { _logger = logger; _datastore = datastore; }