/// <summary> /// Initializes a new instance of the AcknowledgmentParser class. /// </summary> /// <param name="log"> /// The CommerceLog object through which log entries can be made. /// </param> public AcknowledgmentParser(CommerceLog log) { Log = log; DetailAcknowledgmentParser = new DetailAcknowledgmentParser(log); GeneralAcknowledgmentParser = new GeneralAcknowledgmentParser(log); }
/// <summary> /// Parses a General Acknowledgment Record. /// </summary> /// <remarks> /// A null item may be added. /// </remarks> private void ParseGeneralAcknowledgmentRecord() { Acknowledgment.GeneralAcknowledgments.Add(GeneralAcknowledgmentParser.Parse(Line, NumberOfGeneralAcknowledgmentRecords++)); }