06-18-2013 08:11 AM
Hello
I'm new with G# I find it is very useful and easy
Is it possible to create Plug in classes?
Because I always need the "Create Method"
Thanks
06-19-2013 12:18 AM
Hi diego_fro
Not exactly sure what you mean by plugin classes.
We use a design pattern with the g# object create method that is called dependency injection.
It,s purpose is to create a more "loose" coupling in designs and with that we can do something we call a plugin structure for classes.
Pls have a look at the examples for g# regarding dependency injection and see if you find it useful, it's available in the g# examples in your normal examples folder
//Patrik
06-19-2013 01:29 AM
Hi Patrik
thank you for the answer
the dependency injection is what I need !
best regards
Diego
06-19-2013 03:45 AM
Nice, hope it will be usefull.
Please remember that classes using dependency injection is not "loaded" in an instance as you normally find it when developing. Its loaded in runtime....
//Patrik