Exemplo n.º 1
0
        public void CopyFileSegments(CProcDetails oprocDetails)
        {
            int lIndex = 1;

            foreach (CProcDetail oProcDetail in moProcDetails)
            {
                oProcDetail.CopySegments(oprocDetails.get_ItemByKey(lIndex.ToString()).obFileSegments);
                lIndex++;
            }
        }
Exemplo n.º 2
0
        //Returns a Deep Copy of the object
        public void Copy(CProcDetails oprocDetails, ref bool bCopyDurations, ref bool bCopyDefault)
        {
            CProcDetail oProcDetail = new CProcDetail();

            for (int lIndex = 1, iteratorTest = oprocDetails.Count; lIndex <= iteratorTest; lIndex++)
            {
                oProcDetail = new CProcDetail();
                oProcDetail.Copy(oprocDetails.get_ItemByKey(lIndex.ToString()), bCopyDurations, bCopyDefault);
                AddCopyDetails(oProcDetail);
            }
        }