Table of Contents

Namespace EasySoftware.MvvmMini

Classes

AppInstaller

Extension methods that register MvvmMini with IServiceCollection and create view models with their views.

BindableBase

Base class for objects that notify bindings when their properties change.

ClosableViewModelBase

Base class for view models with a lifecycle that ends when they are closed, such as a window, a dialog or a document tab that the user opens, works with and then closes.

DialogViewModelBase

Base class for view models whose view is shown as a modal dialog window.

DialogViewModelBase<T>

Base class for modal dialog view models that produce a result.

EventAggregator

Default thread-safe implementation of IEventAggregator.

ModelBase

Base class for bindable models with built-in validation error storage. Implements INotifyPropertyChanged, INotifyDataErrorInfo and IErrorContainer.

RelayCommand

An asynchronous command without a parameter.

RelayCommandBase

Base class for asynchronous relay commands. While a command is running, CanExecute(object) returns false.

RelayCommand<T>

An asynchronous command that takes a parameter of type T.

ViewAdapter

Default IViewAdapter for WPF views. Works with any FrameworkElement; Show(), ShowDialog() and Close() require the view to be a Window.

ViewModelBase

Base class for view models. Binds itself to its view and exposes the view's load and unload events as the overridable Loaded() and Unloaded() methods.

WindowViewModelBase

Base class for view models whose view is a window.

Interfaces

IViewModelViewMapping

Registers which view model and view belong to a view model interface.

Enums

ViewModelState

The lifecycle state of a closable view model.