private static void CopyParagraphContents(IParagraph fromParagraph, IParagraph toParagraph) { toParagraph.Clear(); while (fromParagraph.Count > 0) { var item = fromParagraph[0]; fromParagraph.RemoveAt(0); toParagraph.Add(item); } }
private static void CopyParagraph(IParagraph fromParagraph, IParagraph toParagraph) { toParagraph.Clear(); while (fromParagraph.Count > 0) { IAbstractMarkupData markupData = fromParagraph[0]; fromParagraph.RemoveAt(0); toParagraph.Add(markupData); } }
private static void CopyParagraph(IParagraph fromParagraph, IParagraph toParagraph) { toParagraph.Clear(); while (fromParagraph.Count > 0) { IAbstractMarkupData markupData = fromParagraph[0]; fromParagraph.RemoveAt(0); toParagraph.Add(markupData); } }