extensibility


Golang events: EventEmitter / dispatcher for plugin architecture

…衆ロ難τιáo~ 提交于 2020-01-20 19:07:36
问题 In Node.js I was able to make a WordPress clone rather easily using the EventEmitter to replicate and build a hooks-system into the CMS core, which plugins could then attach to. I now need this same level of extensibility and core isolation for my CMS written in and ported to Go. Basically I have the core finished now, but in order to make it truly flexible I have to be able to insert events (hooks) and to have plugins attach to these hooks with additional functionality. I don't care about

Using MEF with C#, how do I call methods on the host, from the plugin?

邮差的信 提交于 2019-12-30 06:52:08
问题 I am trying to add plugin extensibility to my C# application using the Managed Extensibility Framework (MEF) framework, and so far it is going ok; I have my main/host application loading plugins from a defined folder, and can call their methods etc. from the main application. Both the host application and the plugins reference a seperate dll assembly which contains the interfaces common to all projects. This is working fine and I can call/interact with the plugins from the main application.

Using MEF with C#, how do I call methods on the host, from the plugin?

牧云@^-^@ 提交于 2019-12-30 06:52:08
问题 I am trying to add plugin extensibility to my C# application using the Managed Extensibility Framework (MEF) framework, and so far it is going ok; I have my main/host application loading plugins from a defined folder, and can call their methods etc. from the main application. Both the host application and the plugins reference a seperate dll assembly which contains the interfaces common to all projects. This is working fine and I can call/interact with the plugins from the main application.

How do you create a simple Automation Extender for Visual Studio with UITypeEditor

时光怂恿深爱的人放手 提交于 2019-12-24 05:59:42
问题 In Visual Studio when you select project or project items in the solution explorer there are times when you might want to add custom properties to the properties window(the window that pops up when you press F4). Also, to fill in the values of those properties I need to add a button to pop up a form so I can collect information from the user at design time. What is the simplest implementation of this so I can get started? How would I create a user interface to collect the value some how by

How do you create a simple Automation Extender for Visual Studio with UITypeEditor

谁说我不能喝 提交于 2019-12-24 05:58:26
问题 In Visual Studio when you select project or project items in the solution explorer there are times when you might want to add custom properties to the properties window(the window that pops up when you press F4). Also, to fill in the values of those properties I need to add a button to pop up a form so I can collect information from the user at design time. What is the simplest implementation of this so I can get started? How would I create a user interface to collect the value some how by

Get Access property of a CodeElement

只谈情不闲聊 提交于 2019-12-23 12:37:02
问题 I'm writing an Add-in for VS 2010. Can't find answer for a question - How can i get the Access property of a CodeElement if it has that one. I was trying reflection, but no results. Ex. CodeElement is a class method public void GetAccess (CodeElement codeElement) { object code = codeElement; Type t = code.GetType(); t.GetProperty("Access") = vsCMAccess.vsCMAccessPublic; } But it doesnt work.. Help, please! 回答1: Access is only available on some types of CodeElements, so you'll need to check

IRibbonExtensibility GetCustomUI not called

爷,独闯天下 提交于 2019-12-22 09:20:09
问题 I'm developing a shared add-in for Outlook. One of my customers is experiencing trouble on his machine, he does not see my add-in buttons/ui in the main window ribbon. After exploring his environment and my logs I noticed that the function "GetCustomUI" of interface IRibbonExtensibility is not being called in his environment. I'm not sure what can be the cause for the different behavior, why doesn't Outlook call the GetCustomUI on the customer machine? Also - Is it possible to initiate a call

Best (free) way to store data? How about updates to the file system?

偶尔善良 提交于 2019-12-22 09:01:15
问题 I have an idea for how to solve this problem, but I wanted to know if there's something easier and more extensible to my problem. The program I'm working on has two basic forms of data: images, and the information associated with those images. The information associated with the images has been previously stored in a JET database of extreme simplicity (four tables) which turned out to be both slow and incomplete in the stored fields. We're moving to a new implementation of data storage. Given

What add-in/workbench framework is the best .NET alternative to Eclipse RCP?

萝らか妹 提交于 2019-12-21 12:35:56
问题 I'm looking for a plugin-based application framework that is comparable to the Eclipse Plugin Framework, which to my simple mind consists of: a core plugin management framework (Equinox / OSGI), which provides the ability to declare extension endpoints and then discover and load plugins that service those endpoints. (this is different than Dependency Injection, but admittedly the difference is subtle - configuration is highly de-centralized, there are versioning concerns, it might involve an

Is it possible to have a vs2010 vsix check for updates locally?

一世执手 提交于 2019-12-20 04:31:16
问题 I'm writing a project structure and code analysis extension for visual studio at work. The project can not be published to the Visual Studio Extensions Gallery. Is there any way to manage updates and deployment built in to visual studio so that a team can use the extension and get the update prompts? 回答1: No, this is not a supported operation on Visual Studio 2010. I just verified this with the extension manager team. 回答2: Looks like you can do this now with Private Galleries! 来源: https:/

工具导航Map