Beispiel #1
0
        /// <summary>
        /// To string function
        /// </summary>
        /// <returns>A string containing the file information</returns>
        public override string ToString()
        {
            var Builder = new StringBuilder();

            Records.ForEach <Row>(x => Builder.Append(x.ToString()));
            return(Builder.ToString());
        }
Beispiel #2
0
 public void AfterClone(MediaDigitalInfo source, bool fullClone = true)
 {
     Records.ForEach(digitalInfoRecord =>
     {
         digitalInfoRecord.AfterClone(source.Records.First(sourceProgram => sourceProgram.UniqueID == digitalInfoRecord.UniqueID), fullClone);
         digitalInfoRecord.Parent = this;
     });
 }
Beispiel #3
0
 public void GetGroupsWellsLists()
 {
     Records?.ForEach(record =>
     {
         if (record.GetType() == typeof(GroupRecord))
         {
             GroupsList.Add((GroupRecord)record);
         }
         else
         {
             WellsList.Add((WellRecord)record);
         }
     });
 }