i have a plugin system that is working well but i need access to a class within the main application.
the class in the main application stores protected data.
i need to be able to place and retrieve protected data from each plugin.
(MainApplication.Protect) can see (IPlugin.plugin) but i need (IPlugin.plugin) to be able to see (MainApplication.Protect)
where (MainApplication.Protect .PluginDataGet(IPlugin name) & .PluginDataPut(IPlugin name)) is only accessible to (IPlugin.plugin)
i tried reflection and even an interface.
maybe i did something wrong somewhere.
qasqade xerc is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.