예제 #1
0
 public bool IsOpened <T>() where T : AppWindow
 {
     if (_alertWindow == null)
     {
         return(false);
     }
     if ((typeof(T) == _alertWindow.GetType() || _alertWindow.GetType().IsSubclassOf(typeof(T))))
     {
         return(true);
     }
     else
     {
         return(false);
     }
 }