AccountVerificationCenter.cs 839 B

1234567891011121314151617181920212223
  1. using System.Collections.Generic;
  2. namespace FacadePattern
  3. {
  4. /// <summary>
  5. /// 银行账户验证中心
  6. /// </summary>
  7. public class AccountVerificationCenter
  8. {
  9. private readonly List<BankAccount> accounts = new List<BankAccount>
  10. {
  11. new BankAccount("123456789012345", "555555", "圣杰", "135****9309", 1000000),
  12. new BankAccount("123456789012346", "222222", "Jeffrey", "135****9309", 2000000),
  13. new BankAccount("123456789012347", "333333", "Shengjie", "135****9309", 3000000),
  14. new BankAccount("123456789012348", "777777", "程序猿", "135****9309", 4000000),
  15. new BankAccount("123456789012349", "888888", "设计狮", "135****9309", 5000000)
  16. };
  17. public void Verify(string bankNo, string password)
  18. {
  19. }
  20. }
  21. }