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

CloneRow() private method

private CloneRow ( Row row, Table table ) : Row
row AODL.Document.Content.Tables.Row
table AODL.Document.Content.Tables.Table
return AODL.Document.Content.Tables.Row
		private Row CloneRow(Row row, Table table)
		{
			Row newRow = new Row(table, row.StyleName);
			foreach (Cell cell in row.Cells)
			{
				newRow.Cells.Add(CloneCell(cell));
			}
			return row;
		}