/// <summary>
 /// Отобразить текст.
 /// </summary>
 /// <param name="logic">Логика рендеринга поста.</param>
 public void RenderText(ITextRenderLogic logic)
 {
     if (post?.Comment == null)
     {
         return;
     }
     var rlogic = new RenderProgramV1Logic();
     rlogic.CreateProgram(logic, post.Comment.Nodes);
 }
 /// <summary>
 /// Создать программу.
 /// </summary>
 /// <returns>Программа.</returns>
 public ITextRender2RenderProgram CreateProgram()
 {
     var logic = new RenderProgramV1Logic();
     return logic.CreateProgram(post.Comment.Nodes);
 }