![]() ![]() The main benefit of using dependency injection is loose-coupling between modules. IoC is an abbreviation of Inversion of Control. Dependency Injection package is also called an IoC Container. ![]() The lifetime of the required objects is also managed by this package. So, instead of explicitly creating objects, the required objects are created, injected, and managed by dependency injection package (third-party package) and then, ‘injected’ to the requiring object. If one object depends on other objects, the required objects are injected to requiring object via some sort of ways. BackgroundĪ well-designed application can use dependency injection package to resolve object dependencies between modules. DevExpress MVVM is one of the freely available MVVM frameworks we can use to develop a desktop application using WPF. This post assumes that you already know about dependency injection, WPF application, and also MVVM. In this post, I’ll give a tutorial on how to apply dependency injection in DevExpress WPF application. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |