public void InvokeUserAction(OpaUserAction action)
 {
     if (action is Action_AddNewDialog)
     {
         this.AddNewDialog((Action_AddNewDialog)action);
     }
     else if (action is Action_RemoveLastDialog)
     {
         this.RemoveLastDialog((Action_RemoveLastDialog)action);
     }
     else if (action is SubDialogAction_SetSelectedLanguage)
     {
         this.SubDialog_SetSelectedLanguage((SubDialogAction_SetSelectedLanguage)action);
     }
     else if (action is SubDialogAction_ReportUserName)
     {
         this.SubDialog_ReportUserName((SubDialogAction_ReportUserName)action);
     }
     else if (action is SubDialogAction_AcceptChatAgain)
     {
         this.SubDialog_AnswerChatAgainQuestion((SubDialogAction_AcceptChatAgain)action);
     }
     else
     {
         throw new NotImplementedException("Dialog_UserActions: action \"" + action.GetType().Name + "\" not implemented!");
     }
 }
 public void AddUserAction(int hostViewID, OpaUserAction actionToAdd)
 {
     actionToAdd.hostViewID = hostViewID;
     _actions.Add(actionToAdd);
 }
 public void AddUserAction(int hostViewID, OpaUserAction action)
 {
     _userActionsQuery.AddUserAction(hostViewID, action);
 }
 public void AddUserAction(int hostViewID, OpaUserAction actionToAdd)
 {
     actionToAdd.hostViewID = hostViewID;
     _actions.Add(actionToAdd);
 }