Exemple #1
0
        /// <summary>
        /// Public constructor with DI
        /// </summary>
        /// <param name="averagesTracker">Track overall averages</param>
        /// <param name="hashtagTracker">Track hashtags</param>
        /// <param name="emojiTracker">Track emojis</param>
        /// <param name="urlTracker">Track urls</param>
        /// <param name="emojiHelper">Help with emojis</param>
        public TwitterStatistics(AveragesTracker averagesTracker, TopPropertyTracker hashtagTracker, TopPropertyWithAverageTracker emojiTracker, UrlTracker urlTracker, EmojiHelper emojiHelper)
        {
            Averages = averagesTracker;
            Hashtags = hashtagTracker;
            Emojis   = emojiTracker;
            Urls     = urlTracker;

            _emojiHelper = emojiHelper;
        }