internal PromptResponse() { Responded = false; Action = new PromptAction() { ActionName = string.Empty, IconName = string.Empty, ActionType = PromptActionType.Cancel }; }
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; }
internal PromptResponse(PromptAction action) { Action = action; Responded = true; }