Ejemplo n.º 1
0
 private void CompareByfVsRnt()
 {
     if (RntCell == null)
     {
         IsValidImport = false;
         WhyInvalid    = "Rnt cell is NULL";
         return;
     }
     IsValidImport = RntCell.Matches(ByfCell, out string whyNot);
     WhyInvalid    = whyNot;
 }
Ejemplo n.º 2
0
        private bool Validate(BillCode billCode, out string whyNot)
        {
            var val = RntCell?.For(billCode);

            if (val.HasValue)
            {
                whyNot = "";
                return(true);
            }
            whyNot = $"No balance for ‹{billCode}›.";
            return(false);
        }