예제 #1
0
        private void AnalyzeCandidate
        (
            [NotNull] ReaderInfo reader
        )
        {
            DebtorInfo debtor = _debtorManager.GetDebtor(reader);

            if (!ReferenceEquals(debtor, null))
            {
                Debtors.Add(debtor);
            }
        }
예제 #2
0
        private void _AnalyzeReader
        (
            [CanBeNull] ReaderInfo reader
        )
        {
            if (!ReferenceEquals(reader, null))
            {
                Readers.Add(reader);

                if (reader.Status == "0")
                {
                    DebtorInfo debtor
                        = _debtorManager.GetDebtor(reader);
                    if (!ReferenceEquals(debtor, null))
                    {
                        Debtors.Add(debtor);
                    }
                }
            }
        }