Ejemplo n.º 1
0
        private void SortRecords_v1_5()
        {
            QueryResultRecordsType resource = this.GetResource();

            if (this._records == null)
            {
                this._records = new List <T>();
            }
            if (resource.Record == null)
            {
                return;
            }
            foreach (T obj in resource.Record)
            {
                this._records.Add(obj);
            }
        }
Ejemplo n.º 2
0
 internal RecordResult(vCloudClient client, QueryResultRecordsType recordsType)
     : base(client, (ContainerType)recordsType)
 {
     this.SortRecords_v1_5();
 }