AODL.Utils.ContentMocker.CloneAny C# (CSharp) 메소드

CloneAny() 공개 메소드

public CloneAny ( IContent content ) : IContent
content IContent
리턴 IContent
		public IContent CloneAny(IContent content)
		{
			if (content is Table)
				return CloneTable(content as Table);
			if (content is Cell)
			{
				Cell cell = content as Cell;
				return CloneCell(cell);
			}
			else
				return new MainContentProcessor(content.Document)
					.CreateContent(content.Node);
		}