I have to write an add-in
for an existing application. Client will use the application and add-in. Both application and add-in
are black boxes for the user. My add-in is a .Net C# dll
and User Can Code in C#.
Now I have to provide a mechanism through which user can write some C#
code. That code will be loaded and executed by my add-in
at runtime in order to get data required in add-in.
What is the best practise to achieve this
Edit
Just to clear a bit more...
In my add-in, during execution, I get a string
Now I want to call some user function
string resultString = UserFunction("SomeString");
Now I want to know how to allow user to write this UserFunction
so that I can call it at runtime and get resultString
back based on SomeString