public AccountSummary GetAccountSummary2(CustomerInfo customer)
 {
     return(new AccountSummary());
 }
예제 #2
0
 CustomerInfo GetValidRule2Customer()
 {
     CustomerInfo customer = new CustomerInfo();
     customer.FirstName = "FirstName";
     customer.LastName = null; // ignored by this ruleset
     customer.Ssn = "333-22-4444";
     return customer;
 }
예제 #3
0
 CustomerInfo GetValidRule1Customer()
 {
     CustomerInfo customer = new CustomerInfo();
     customer.FirstName = "FirstName";
     customer.LastName = "LastName";
     customer.Ssn = "Not valid, but that's ok, this ruleset doesn't care";
     return customer;
 }
예제 #4
0
 CustomerInfo GetValidBank1Customer()
 {
     CustomerInfo customer =
         new CustomerInfo("First", "LastName", "Illegal SSN, but Bank1 doesn't care");
     return customer;
 }
예제 #5
0
 CustomerInfo GetInvalidBank1Customer()
 {
     CustomerInfo customer = new CustomerInfo();
     customer.FirstName = "FirstName";
     customer.LastName = null; // This violates the ruleset
     customer.Ssn = "Not valid, but that's ok, this ruleset doesn't care";
     return customer;
 }
 public AccountSummary GetAccountSummary2(CustomerInfo customer)
 {
     return new AccountSummary();
 }