Exemple #1
0
        public override void Execute(string arg)
        {
            if (string.IsNullOrWhiteSpace(arg))
            {
                OnWriteLine("Known records: " + string.Join(", ", _Store.GetRecordNames()));
                return;
            }

            var rec = _Store.GetRecord(arg);

            if (rec != null)
            {
                var lines = rec.TakeWhile(line => !line.Equals(EndReplayCommand));
                CQ.AddInput(lines);
            }
        }
Exemple #2
0
 public override void Execute(string arg)
 {
     CQ.AddInput(_Mgr.GenerateInputForProc(arg));
 }