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; }
/// <summary> /// The default Constructor. /// </summary> internal UserPrompt() { Response = new PromptResponse(); }