Beispiel #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));
            }
        }
Beispiel #2
0
 public HashTagIndex(TossEntity toss, string hashTag)
 {
 }