Interpreter–part 6 of n–Ecosystem/usage
Series:
- http://msprogrammer.serviciipeweb.ro/2018/07/16/interpreterpart-1-of-n/ – Idea
- http://msprogrammer.serviciipeweb.ro/2018/07/23/interpreterpart-2-of-n/ – Coding
- http://msprogrammer.serviciipeweb.ro/2018/07/30/interpreterpart-3-of-n/ – Testing
- http://msprogrammer.serviciipeweb.ro/2018/08/06/interpreterpart-4-of-n/ – Deploy
- http://msprogrammer.serviciipeweb.ro/2018/08/13/interpreterpart-5-of-n/ – Documentation
- http://msprogrammer.serviciipeweb.ro/2018/08/20/interpreterpart-6-of-n/ – Ecosystem / usage
This is the latest – how do you use the component. In this case, the Interpreter is part of 2 separate projects : Stankins and AOP with Roslyn . Both uses this in order to interpret json files at runtimes.
For example, AOP with Roslyn wants to run in the current folder – not in the dotnet folder wher it belongs.
So , for this, it has
“FolderName”: “@static:Environment.CurrentDirectory@”,
in the processme.,txt file.
The processme.txt is taken from
var pathDll = Assembly.GetEntryAssembly().Location;
path = Path.GetDirectoryName(pathDll);
But it processes files on the current directory – and it has the full name of the folder.
Creating an open source component 983.46 KB
Leave a Reply