예제 #1
0
 public MIAsyncRecord(MIToken token, MIAsyncRecordClass cl, MIAsyncOutput output)
     : base(MIOutOfBandRecordType.Async)
 {
     Token  = token;
     Class  = cl;
     Output = output;
 }
예제 #2
0
        public MIResultRecord(MIToken token,
                              MIResultClass resultClass,
                              MIResult[] results)
        {
            Token   = token;
            Class   = resultClass;
            Results = new Dictionary <string, MIValue>();

            if (results == null)
            {
                return;
            }

            foreach (MIResult result in results)
            {
                Results.Add(result.Variable, result.Value);
            }
        }