Example #1
0
        public Replaceable(string tagName, string replacement)
        {
            Tags = new List <HtmlTemplateTag>();
            HtmlTemplateTag t = new HtmlTemplateTag()
            {
                Replacement = replacement, Tag = tagName
            };

            Tags.Add(t);
        }
Example #2
0
 public Replaceable(string tagName, string replacement)
 {
     Tags = new List<HtmlTemplateTag>();
     HtmlTemplateTag t = new HtmlTemplateTag() { Replacement = replacement, Tag = tagName };
     Tags.Add(t);
 }