예제 #1
0
 private bool ModalOpened <T>()
 {
     return(_modalWindows.List().Any(x => x.DataContext.GetType() == typeof(T)));
 }
예제 #2
0
 public bool IsOpen <T>() where T : IModal
 {
     return(_modalWindows.List().Any(x => x.DataContext.GetType() == typeof(T)));
 }