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:19:59 +02:00
Properties Created dependency injection bindings for Microsoft's DI interfaces 2025-06-19 15:19:59 +02:00
Source Created dependency injection bindings for Microsoft's DI interfaces 2025-06-19 15:19:59 +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 Created dependency injection bindings for Microsoft's DI interfaces 2025-06-19 15:19:59 +02:00

  • Status: Stable and mature. Several projects are using this library, and it has received extensive testing on Linux and Windows.

  • Platforms: Cross-platform, developed on Linux but also tested and working without any known issues on Windows.

Nuclex.Windows.Forms.DependencyInjection

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.