Пример #1
0
        public override void Prompt(string msg, ref string rsp, bool noEcho, p4dn.Error err)
        {
            // don't give the consumer any more messages if we're in an error state
            if (DeferedException != null)
            {
                return;
            }

            rsp = _P4Result.RaiseOnPromptEvent(msg);
        }
Пример #2
0
 /// <summary>
 /// Prompts the specified MSG.
 /// </summary>
 /// <param name="msg">The MSG.</param>
 /// <param name="rsp">The RSP.</param>
 public override void Prompt(string msg, ref string rsp)
 {
     rsp = _P4Result.RaiseOnPromptEvent(msg);
 }