Example #1
0
        void AddUnknownTags(string tags, IQuoteProvider service)
        {
            QuoteTagItem tag;

            foreach (string tagName in tags.Trim ().Split (' ')) {
                tag = new QuoteTagItem (tagName);

                if (service.SavedTags.Contains (tag)) continue;

                service.AddTag (tag);
            }
        }
Example #2
0
 public void AddTag(QuoteTagItem tag)
 {
     tags.Add (tag);
 }