Skip to content
| Marketplace
Sign in
Visual Studio>Tools>Dynamensions.CodeSnippets.MVVM.CS
Dynamensions.CodeSnippets.MVVM.CS

Dynamensions.CodeSnippets.MVVM.CS

Dynamensions

|
4,635 installs
| (1) | Free
Contains various useful C# MVVM snippets.
Download

For Visual Studio 2017+

Contains common snippets used in MVVM applications:

  • Define a Resettable Property that Calls OnPropertyChanged()
    • This snippet assumes you have inherited a ViewModelBase that implements INotifyPropertyChanged
  • Define a Property that implements INotifyPropertyChanged\
    • This snippet assumes you have inherited a ViewModelBase that implements INotifyPropertyChanged
  • Add a RelayCommand with Region
    • This assumes you have a RelayCommand class
  • Add a RelayCommand<T> with Region
    • This assumes you have a RelayCommand class
  • Web Client Repository Method with Region
  • Add a Repository Method With Retry And Region
    • Adds a method to a repository/service that includes a retry loop.
  • View Model Class Regions
    • Constructors
    • Messages (Event Aggregator or Message Bus)
    • Services (Repositories)
    • Properties
    • Commands (Relay Commands)
    • Methods

Note: These snippets work with: Dynamensions.Infrastructure.Base Nuget Package

Please see the 'Getting Started' guide in the extensions installation dialog in Visual Studio.

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft