Some kind of IOC working in WPF