public void AddLine(AbstractTextContentWrapper value) { if (value == null) return; _lines.Add(value); }
public void AddContent(AbstractTextContentWrapper content) { _content.Add(content); }
public override void ConfigureFromNode(XElement node) { _content = GetInstanceFromNode<AbstractTextContentWrapper>(node.Elements().FirstOrDefault()); Target = XmlUtilities.GetTextFromAttribute(node, "target"); Color = XmlUtilities.GetTextFromAttribute(node, "color"); }