public ContentElement Create(dynamic dynamicElement) { var contentElement = new ContentElement( dynamicElement.ContentElementId, Language.Create(dynamicElement.DefaultLanguage), (ContentType)dynamicElement.ContentType); if (dynamicElement.TextContents != null) { contentElement.AddValues(GetTextContents(dynamicElement)); } return(contentElement); }