AHAToolkit.MVVM 0.3.1

dotnet add package AHAToolkit.MVVM --version 0.3.1
                    
NuGet\Install-Package AHAToolkit.MVVM -Version 0.3.1
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="AHAToolkit.MVVM" Version="0.3.1" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="AHAToolkit.MVVM" Version="0.3.1" />
                    
Directory.Packages.props
<PackageReference Include="AHAToolkit.MVVM" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add AHAToolkit.MVVM --version 0.3.1
                    
#r "nuget: AHAToolkit.MVVM, 0.3.1"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package AHAToolkit.MVVM@0.3.1
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=AHAToolkit.MVVM&version=0.3.1
                    
Install as a Cake Addin
#tool nuget:?package=AHAToolkit.MVVM&version=0.3.1
                    
Install as a Cake Tool

AHAToolkit.MVVM

NuGet Version NuGet Downloads

Essentials for building modern applications using the MVVM pattern.

Features

Commands

  • AsyncCommandBase
  • CommandBase
  • NavigateCommand
  • ViewModelCommand
  • Composite
  • Modal
  • Parameter

ViewModels

  • CreateViewModel
  • ViewModelBase

Example

using AHAToolkit.MVVM.Commands;
using AHAToolkit.MVVM.ViewModels;
using System.Windows;
using System.Windows.Input;

namespace MVVMExamples
{
    public class SampleViewModel : ViewModelBase
    {
        public ICommand SayHelloCommand { get; }

        public SampleViewModel()
        {
            SayHelloCommand = new ViewModelCommand(ExecuteSayHello);
        }

        private void ExecuteSayHello(object obj)
        {
            MessageBox.Show("Hello World");
        }
    }
}

Release History

  • 0.3.0
    • Add .NET Framework support
  • 0.2.0
    • Add documentation
  • 0.1.0
    • Initial release
Product Compatible and additional computed target framework versions.
.NET net6.0-windows7.0 is compatible.  net7.0-windows was computed.  net8.0-windows was computed.  net9.0-windows was computed.  net10.0-windows was computed. 
.NET Framework net48 is compatible.  net481 was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
  • .NETFramework 4.8

    • No dependencies.
  • net6.0-windows7.0

    • No dependencies.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
0.3.1 166 2/26/2024
0.3.0 144 2/26/2024
0.2.0 203 1/14/2024
0.1.0 136 1/14/2024

Implement .NET Framework support