Exemplo n.º 1
0
 public void Unregister <VM>()
 {
     ViewModelToWindowMap.Remove(typeof(VM));
 }
Exemplo n.º 2
0
 public void Register <VM, W>() where W : Window, new() where VM : class
 {
     ViewModelToWindowMap.Add(typeof(VM), typeof(W));
 }