Exemplo n.º 1
0
 public string Publish(IPublishOperation imageConverter)
 {
     return contentEditor.Publish(imageConverter);
 }
Exemplo n.º 2
0
 public SimplePublishOperation(string html, IPublishOperation converter)
 {
     _imageConverter = converter;
     _html = html;
 }
Exemplo n.º 3
0
 public string Publish(IPublishOperation imageConverter)
 {
     return(contentEditor.Publish(imageConverter));
 }
Exemplo n.º 4
0
        public string Publish(IPublishOperation imageConverter)
        {
            // @SharedCanvas - do we have to run the full publish operation here or is this enough?
            // @SharedCanvas - do we need to save, or does the caller do that?
            if (imageConverter != null)
            {
                SimplePublishOperation publish = new SimplePublishOperation(Body, imageConverter);
                return publish.PublishHtml();
            }

            return Body;
        }