AODL.Utils.ContentMocker.CopyCellContens C# (CSharp) Method

CopyCellContens() private method

private CopyCellContens ( Cell source, Cell destination ) : void
source AODL.Document.Content.Tables.Cell
destination AODL.Document.Content.Tables.Cell
return void
		private void CopyCellContens(Cell source, Cell destination)
		{
			foreach (IContent content in source.Content)
			{
				IContent clonedContent = new MainContentProcessor(content.Document)
					.CreateContent(content.Node);
				destination.Content.Add(clonedContent);
			}
		}