Example #1
0
 ///-----------------------------------------------------------------
 public KeywordTemplate SetTag(string tag, KeywordTemplateMode tagStyle = KeywordTemplateMode.UsedAsSwap)
 {
     this.tag          = tag;
     this.templateMode = tagStyle;
     return(this);
 }
Example #2
0
 ///-----------------------------------------------------------------
 public KeywordTemplateStack(KeywordTemplateMode tagType, string content)
 {
     this.tagType = tagType;
     this.content = content;
     this.stack   = new List <SwapInfo>();
 }