Esempio n. 1
0
        /// <summary>
        /// Creates all the hashtag indexes needed for a single toss
        /// </summary>
        /// <param name="toss"></param>
        /// <returns></returns>
        public static IEnumerable <HashTagIndex> CreateHashTagIndexes(TossEntity toss)
        {
            var matches = regexHashTag.Matches(toss.Content);

            foreach (Match m in matches)
            {
                yield return(new HashTagIndex(toss, m.Value));
            }
        }
Esempio n. 2
0
 public HashTagIndex(TossEntity toss, string hashTag)
 {
 }