Name | Modified | Size | Downloads / Week |
---|---|---|---|
Parent folder | |||
README | 2015-06-14 | 1.4 kB | |
Totals: 1 Item | 1.4 kB | 0 |
******************************************************************************************************************************* * MetaN - Meta NET framework * GL.MetaN.ReflectionConsole - Gives the ability to .NET console applications to interact with .NET objects ******************************************************************************************************************************* * Author : Jérémy WALTHER (jeremy.walther@golflima.net) * Version : 1.0, 14/06/2015 * Licence : LGPL v3 ******************************************************************************************************************************* * Changelog : 1.0 - 24/06/2015 - First public release * How to use 'GL.MetaN.ReflectionConsole' in a console application ? Simply call method 'Run()' on a ConsoleAppCommandsManager : class Program { static void Main(string[] args) { Class1 class1 = new Class1(); Class2 class2 = new Class2(); Class3 class3 = new Class3(); ConsoleAppCommandsManager commander = new ConsoleAppCommandsManager( new CommandsContainer(class1), new CommandsContainer(class2), new CommandsContainer(class3), new CommandsContainer(typeof(Math))); commander.Run(); } }