コード例 #1
0
        protected override List<ITicketData> GetTicketReference(ITicket ticket, List<ITicketData> ticketData)
        {
            var foundTicketData = new List<ITicketData>();

            if (ticketData != null && ticketData.Count > 0)
            {
                foundTicketData = ticketData.FindAll(item => item.RefNo.Equals(ticket.TransId.ToString()));
            }

            return foundTicketData;
        }
コード例 #2
0
 protected override List<ITicketData> GetReferenceData(ITicket ticket, List<ITicketData> ticketData)
 {
     return ticketData.FindAll(item => item.RefNo.Equals(ticket.RefNo));
 }