Example #1
0
        public Agent(AutoRejectionArguments args)
        {
            this.args = args;
            Output    = new AutoRejectionOutput();

            this.oldWayAgent = new Ezbob.Backend.Strategies.AutoDecisionAutomation.AutoDecisions.Reject.Agent(
                this.args.CustomerID,
                this.args.CashRequestID,
                this.args.NLCashRequestID,
                this.args.Tag,
                this.args.DB,
                this.args.Log
                );

            Trail = new LGRejectionTrail(
                this.args.CustomerID,
                this.args.CashRequestID,
                this.args.NLCashRequestID,
                this.args.Log,
                CurrentValues.Instance.AutomationExplanationMailReciever,
                CurrentValues.Instance.MailSenderEmail,
                CurrentValues.Instance.MailSenderName
                );

            CompareTrailsQuietly = false;
        }         // constructor
Example #2
0
        public LGAgent(AutoRejectionArguments args)
        {
            this.args = args;

            Trail = new LGRejectionTrail(
                this.args.CustomerID,
                this.args.CashRequestID,
                this.args.NLCashRequestID,
                this.args.Log
                );
            Trail.SetTag(this.args.Tag).UniqueID = this.args.TrailUniqueID;

            this.oldWayAgent = new RejectionAgent(
                DB,
                Log,
                this.args.CustomerID,
                Trail.CashRequestID,
                this.args.NLCashRequestID
                );
            this.oldWayAgent.Trail.SetTag(this.args.Tag).UniqueID = this.args.TrailUniqueID;

            Output = new AutoRejectionOutput();
        }         // constructor