Example #1
0
 public TagBase(IEnumerable <ITagReplacementWatcher> watchers)
 {
     if (watchers != null)
     {
         this.watchers = new TagReplacementWatchers(watchers);
     }
 }
Example #2
0
 public void AddWatcher(ITagReplacementWatcher watcher)
 {
     if (watchers == null)
     {
         watchers = new TagReplacementWatchers();
     }
     watchers.Add(watcher);
 }
Example #3
0
 public Rule(Tag tag, Content output, int priority, double frequency, IEnumerable <ITagReplacementWatcher> watchers)
     : base(tag, priority, frequency)
 {
     Output = output;
     if (watchers != null)
     {
         this.watchers = new TagReplacementWatchers(watchers);
     }
 }