/// <summary> /// Create and Exact copy of this tag /// </summary> /// <param name="newMarkers"></param> /// <returns></returns> internal RcSlotTag CreateCopy(RcTemplateMarkers newMarkers) { var newTag = new RcSlotTag(newMarkers); newTag._tagStringLinesList.AddRange(_tagStringLinesList); newTag._generatedLinesList.AddRange(_generatedLinesList); return(newTag); }
/// <summary> /// Add a slot tag to this region /// </summary> /// <param name="tagString"></param> /// <param name="linePrefix"></param> /// <returns></returns> public RcSlotTag AddSlotTag(string tagString, string linePrefix = null) { var slotTag = new RcSlotTag(_markers) { TagString = tagString, LinePrefix = linePrefix ?? LinePrefix }; _tagsList.Add(slotTag); return(slotTag); }