Skip to content

Cybrosys/Sandbox

Repository files navigation

Sandbox

Play area

Factory

Factory is a simple WeakReference Factory class. It solves a problem where I wanted to share Model data used across multiple ViewModels. The problem was that one ViewModel would update Model data but none of the other ViewModels would be aware that this had happened because each ViewModel had populated itself using injected Managers/Providers, thus they had the same duplicated data. I got the idea from Microsoft Project Orleans where the only way to retrieve a handle to something is to use a pre-generated *Factory class (Factory).

Releases

No releases published

Packages

No packages published