Edi.Core.StaticServices
Dirkster99 opened this issue · comments
Some classes like UserControls cannot be initialized with Dependency Injection via Constructor since they require per framework a parameterless constructor. The project, therefore, contains a static class definition to support MessageBox servicing in:
- static methods and
- classes that cannot have constructur injection (eg UserControl)
1.1 - Is there a better solution for this using Windsor.Castler?
1.2 - Can the static class and the initializer in
Edi.Installers reference the same MessageBox instance?
https://github.com/Dirkster99/Edi/blob/master/Edi/Edi.Core/StaticServices.cs