protected override LocalizedPluginDocumentationPage CreateLocalizedEntityDocumentationPage(PluginDocumentationPage pluginDocumentationPage, Type componentType, XElement xml, string lang, BitmapFrame componentImage)
 {
     if (pluginDocumentationPage is ComponentDocumentationPage)
     {
         return(new LocalizedComponentDocumentationPage((ComponentDocumentationPage)pluginDocumentationPage,
                                                        componentType, xml, lang, componentImage));
     }
     return(null);
 }
 protected override LocalizedPluginDocumentationPage CreateLocalizedEntityDocumentationPage(PluginDocumentationPage pluginDocumentationPage, Type editorType, XElement xml, string lang, BitmapFrame editorImage)
 {
     if (pluginDocumentationPage is EditorDocumentationPage)
     {
         return(new LocalizedEditorDocumentationPage((EditorDocumentationPage)pluginDocumentationPage,
                                                     editorType, xml, lang, editorImage));
     }
     return(null);
 }
 //Factory Method:
 protected abstract LocalizedPluginDocumentationPage CreateLocalizedEntityDocumentationPage(PluginDocumentationPage pluginDocumentationPage, Type entityType, XElement xml, string lang, BitmapFrame entityImage);