Exemplo n.º 1
0
        public void Respond(PromptAction action)
        {
            if (State != PromptState.Shown)
            {
                return;
            }

            try
            {
                Response = new PromptResponse(action);
                CallBack(this);
            }
            catch (Exception e)
            {
                CloudLog.Exception(e);
            }

            State = PromptState.Actioned;
        }
Exemplo n.º 2
0
 /// <summary>
 /// The default Constructor.
 /// </summary>
 internal UserPrompt()
 {
     Response = new PromptResponse();
 }