Skip to content

Latest commit

 

History

History
29 lines (24 loc) · 1.39 KB

00_start_here.md

File metadata and controls

29 lines (24 loc) · 1.39 KB

Welcome to the MvvmGen Docs

MvvmGen is a modern and lightweight MVVM library that is built on top of C# Source Generators. It is a "Source Generator First/Only" framework that contains everything that you need to build XAML applications with the popular Model-View-ViewModel-pattern (MVVM):

  • A ViewModelBase class
  • An ICommand implementation
  • An EventAggregator to communicate between ViewModels
  • Attributes like ViewModel, Property, Command and Inject that you use to hook up MvvmGen’s C# Source Generator, the so-called ViewModelGenerator

Here in the docs you'll learn about the features of MvvmGen. Beside the docs, please also check out the MvvmGen Samples repository that contains full applications built with WPF, WinUI, and MvvmGen.

You can read the docs on GitHub like a web page. At the end of each section you find a link to the next section. Here the separate articles to walk through:

  1. Generate a ViewModel
  2. Create Properties
  3. Work with Commands
  4. Inject Services
  5. Communicate between ViewModels (EventAggregator)
  6. Generate a ViewModel Factory
  7. Set up Dependency Injection