Beispiel #1
0
 public Sale(Register register, UserAccount userAccount)
 {
     this.Register = register;
     this.Date = DateTime.Now;
     this.UserAccount = userAccount;
 }
Beispiel #2
0
 public OTCSale(Register register, UserAccount userAccount)
     : base(register, userAccount)
 {
 }
Beispiel #3
0
 public Register AddRegister(string name)
 {
     var register = new Register(this, name);
     Registers.Add(register);
     return register;
 }
Beispiel #4
0
 public TableSale(Register register, UserAccount userAccount, Table table)
     : base(register, userAccount)
 {
     this.Table = table;
 }
Beispiel #5
0
 public void addRegister()
 {
     string name = "BeanSceneRegister";
     Register r = new Register { Name = name };
     Assert.AreEqual(name, r.Name);
 }