Beispiel #1
0
 public static DialogManager GetByDialog(BaseDialog dialog)
 {
     foreach (var dm in dialogManagers)
     {
         if (dm.ContainsDialog(dialog))
         {
             return(dm);
         }
     }
     return(null);
 }
Beispiel #2
0
 public bool ContainsDialog(BaseDialog dialog)
 {
     return(dialogs.Contains(dialog));
 }