Dalstroem / FusionMVVM

[Deprecated] FusionMVVM is a toolkit made for WPF, and provides some easy-to-use features for creating MVVM applications, with focus on dependency injection and loosely-coupled design.
MIT License
0 stars 0 forks source link

Ioc - Register as singleton #2

Closed Dalstroem closed 9 years ago

Dalstroem commented 9 years ago

Register an object as a singleton. This should always return the same instance.

Usage

RegisterAsSingleton<IFoo>(new Foo());
Dalstroem commented 9 years ago

Implemented in commit f4c2a617f4be0c7562fa3643bfec3b44cb168aca.