LeoConsole is a terminal with many features! It allows you to quickly and easily program smaller or larger console functions or use those of others. It is written in C# 10 under .NET 6
Originally posted by **alexcoder04** April 30, 2022
Things that plugins could do:
### Extending `data`
Possible new information:
- LeoConsole version
- OS
### Organizing plugin functions
Something like
1. `PluginInit()` - runs at start
2. `PluginMain()` - runs when data was loaded
3. `PluginShutdown()` - runs before shutdown
4. `PluginBackground()` - background thread (no idea how it could be used yet, but why not)
To Do:
[x] add LeoConsole version to IData
[x] add PluginInit() to IPlugin
[x] rework PluginMain()
[x] add PluginShutdown() to IPlugin
Not be worked on
OS Info for IData -> You can easily get the current OS by yourself. See docs.microsoft.com
PluginBackground() -> Due to the complexity and the different areas of application, the plugin should handle background threads itself
Discussed in https://github.com/BoettcherDasOriginal/LeoConsole/discussions/24
To Do:
IData
PluginInit()
toIPlugin
PluginMain()
PluginShutdown()
toIPlugin
Not be worked on
IData
-> You can easily get the current OS by yourself. See docs.microsoft.comPluginBackground()
-> Due to the complexity and the different areas of application, the plugin should handle background threads itself