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