示例#1
0
 //생성자 오버로딩
 public UnionController(RandData rand)
 {
     this.rand  = rand;
     carHandle  = new CarController(rand);
     custHandle = new CustController(rand);
     sellHandle = new SellController(rand);
     listItem   = new List <object>();
     listUn     = listItem.Cast <Deal <Car, Customer, Seller> >().ToList();
 }
示例#2
0
 //생성자 오버로딩
 public UnionController(CarController carHandle, CustController custHandle, SellController sellHandle)
 {
     this.carHandle  = carHandle;
     this.custHandle = custHandle;
     this.sellHandle = sellHandle;
 }