public HtmlEditorMarshallingHandler(IHtmlMarshallingTarget editorContext)
        {
            this.editorContext = editorContext;
            dataFormatRegistry = new DataFormatHandlerRegistry();

            dataFormatRegistry.Register(CreateDataFormatFactories());
        }
        public HtmlEditorMarshallingHandler(IHtmlMarshallingTarget editorContext)
        {
            this.editorContext = editorContext;
            dataFormatRegistry = new DataFormatHandlerRegistry();

            dataFormatRegistry.Register(CreateDataFormatFactories());

        }
 public void Dispose()
 {
     if (dataFormatRegistry != null)
     {
         dataFormatRegistry.Dispose();
         dataFormatRegistry = null;
     }
 }
 public void Dispose()
 {
     if (dataFormatRegistry != null)
     {
         dataFormatRegistry.Dispose();
         dataFormatRegistry = null;
     }
 }