コード例 #1
0
 public Customer(
     string firstName,
     string middleName,
     string lastName,
     long id,
     Enum.CustomerType customerType,
     params Payment[] payments)
     : this(firstName, lastName, id, customerType, payments)
 {
     this.MiddleName = middleName;
 }
コード例 #2
0
 public Customer(
     string firstName,
     string lastName,
     long id,
     Enum.CustomerType customerType,
     params Payment[] payments)
 {
     this.FirstName    = firstName;
     this.LastName     = lastName;
     this.Id           = id;
     this.CustomerType = customerType;
     this.Payments     = new List <Payment>(payments);
 }
コード例 #3
0
 public Customer(
     string firstName,
     string middleName,
     string lastName,
     long id,
     Enum.CustomerType customerType,
     string permanentAddress,
     string mobilePhone,
     string email,
     params Payment[] payments)
     : this(firstName, middleName, lastName, id, customerType, payments)
 {
     this.PermanentAddress = permanentAddress;
     this.MobilePhone      = mobilePhone;
     this.Email            = email;
 }