public IbsHistoryResponse(string body)
            : base(body)
        {
            JSONArray arr = (JSONArray)ReturnData;

            foreach (JSONObject e in arr)
            {
                IbRecord record = new IbRecord(e);
                IbRecords.AddLast(record);
            }
        }
示例#2
0
        public GetIbsHistoryResponse(string body)
            : base(body)
        {
            JSONArray arr = (JSONArray)this.ReturnData;

            this.IbRecords = new LinkedList <IbRecord>();

            foreach (JSONObject ibRecordJson in arr)
            {
                IbRecord record = new IbRecord(ibRecordJson);
                this.IbRecords.AddLast(record);
            }
        }