public BankAccountFacade(int accountNumber, int newSecurityCode)
        {
            this.accountNumber = accountNumber;
            this.securityCode = newSecurityCode;

            bankWelcome = new WelcomeToBank ();
            codeChecker = new SecurityCodeCheck ();
            accChecker = new AccountNumberCheck ();
            fundChecker = new FundsCheck ();
        }
示例#2
0
        public BankAccountFacade(int accountNumber, int newSecurityCode)
        {
            this.accountNumber = accountNumber;
            this.securityCode  = newSecurityCode;

            bankWelcome = new WelcomeToBank();
            codeChecker = new SecurityCodeCheck();
            accChecker  = new AccountNumberCheck();
            fundChecker = new FundsCheck();
        }
        public BankAccoundFacade(int newAccountNumber, int newSecurityCode)
        {
            accountNumber = newAccountNumber;
            securityCode  = newSecurityCode;

            accChecker  = new AccountNumberCheck();
            codeChecker = new SecurityCodeCheck();
            fundChecker = new FundCheck();
            bankWelcome = new WelcomeToBank();
        }