Kelson.Common

Collection of packages published under the Kelson.Common namespace

View the Project on GitHub KelsonBall/Kelson.Common

Kelson.Common.Wpf

This package provides types for implementing user interfaces in WPF with the “VM First” MVVM architecture. It depends on the Kelson.Common.Events package and it is highly recommended to use it in conjunction with the Kelson.Common.Async and Ooorm.Data packages.

Types

SimpleViewModel

Simplest view model base, implements INotifyPropertyChanged and some helper methods

BaseViewModel

View model base type with a dependency on an IEventManager.

BaseShell

Base type to extend and instantiate at application startup.

BaseModule

Base type for implementing a module system for organizing UI code into smaller projects.

BasePage

Base type for implementing page style user interfaces

IAppHost

Injectable context for blocking OS behavior such as message boxes, file dialogs, and UI thread dispatch.

WpfAppHost

Default provided IAppHost implementation for WPF Apps.

IEnvironment

Provides data about common disk locations

[IConfiguration]()

Provides a generic interface for injecting configuration models.

[JsonConfiguration]()

Default Newtonsoft.json based configuration serializer/deserializer

ISaveable

Interface for view model types to implement to provide heirarchal save functionality.

INavigable

Interface for view model types to implement to provide a navigation command event system.

ActionCommand

Minimal ICommand implementation

TaskCommand

ICommand implementation for async operations