public void Read(BinaryReader binaryReader) { ROCPlusHistoryRecords.Clear(); IsNull = binaryReader.ReadBoolean(); if (IsNull) { return; } else { var length = binaryReader.ReadInt32(); for (var i = 0; length > i; i++) { var rocPlusHistoryRecord = new ROCPlusHistoryRecord(); rocPlusHistoryRecord.Read(binaryReader); ROCPlusHistoryRecords.Add(rocPlusHistoryRecord); } } }
public ROCPlusHistoryRecordArray AddROCPlusHistoryRecord(ROCPlusHistoryRecord rocPlusHistoryRecord) { ROCPlusHistoryRecords.Add(rocPlusHistoryRecord); return(this); }