コード例 #1
0
        void RegisterEditors()
        {
            AnkhDynamicEditorFactory def = new AnkhDynamicEditorFactory(this);

            RegisterEditorFactory(def);
            _runtime.GetService <IServiceContainer>().AddService(typeof(IAnkhDynamicEditorFactory), def);
        }
コード例 #2
0
        void RegisterEditors()
        {
            RegisterEditorFactory(new AnkhDiffEditorFactory(this));

            AnkhDynamicEditorFactory def = new AnkhDynamicEditorFactory(this);

            RegisterEditorFactory(def);
            _runtime.GetService<IServiceContainer>().AddService(typeof(IAnkhDynamicEditorFactory), def);
        }