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