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);
 }
Esempio n. 2
0
 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);
 }
Esempio n. 3
0
 //Factory Method:
 protected abstract LocalizedPluginDocumentationPage CreateLocalizedEntityDocumentationPage(PluginDocumentationPage pluginDocumentationPage, Type entityType, XElement xml, string lang, BitmapFrame entityImage);