void RegisterEditors() { AnkhDynamicEditorFactory def = new AnkhDynamicEditorFactory(this); RegisterEditorFactory(def); _runtime.GetService <IServiceContainer>().AddService(typeof(IAnkhDynamicEditorFactory), def); }
void RegisterEditors() { RegisterEditorFactory(new AnkhDiffEditorFactory(this)); AnkhDynamicEditorFactory def = new AnkhDynamicEditorFactory(this); RegisterEditorFactory(def); _runtime.GetService<IServiceContainer>().AddService(typeof(IAnkhDynamicEditorFactory), def); }