Dependency injection support for my WinForms MVVM framework for dependency injectors based on Microsoft's extension libraries (Microsoft.Extensions.DependencyInjection.*), allows view models with constructor injection.
Go to file
2025-06-19 15:20:02 +02:00
Documents/images Implemented service scope support 2025-06-19 15:20:02 +02:00
Properties Created dependency injection bindings for Microsoft's DI interfaces 2025-06-19 15:19:59 +02:00
Source Implemented service scope support 2025-06-19 15:20:02 +02:00
.gitignore Created dependency injection bindings for Microsoft's DI interfaces 2025-06-19 15:19:59 +02:00
Dependencies.md Created dependency injection bindings for Microsoft's DI interfaces 2025-06-19 15:19:59 +02:00
License.md Created dependency injection bindings for Microsoft's DI interfaces 2025-06-19 15:19:59 +02:00
Notice.md Created dependency injection bindings for Microsoft's DI interfaces 2025-06-19 15:19:59 +02:00
Nuclex.Windows.Forms.DependencyInjection (net-4.6)(net-8.0).csproj Created dependency injection bindings for Microsoft's DI interfaces 2025-06-19 15:19:59 +02:00
ReadMe.md Implemented service scope support 2025-06-19 15:20:02 +02:00

Nuclex.Windows.Forms.DependencyInjection Windows-only due to using Windows Forms Several projects are using library and it has received extensive testting

Nuclex.Windows.Forms is a standalone, lightweight MVVM library that lets you "display" view models by automatically picking a default view, creating an instance of it and of your view model.

This library provides a module for Microsoft's dependency injection interfaces by which view models can not just be constructed via a default constructor, byt can use full constructor injection to require services such as the IMessageService (to display message boxes), the IWindowManager (to open modal and modeless child windows) and anything else you bind via a compatible dependency injector.