예제 #1
0
 private static void CreateSantaAndYourHouse()
 {
     Santa           = new SantaClaus();
     Sleigh          = new Sleigh();
     SantaClausHouse = new SantaClausHouse(Santa, Sleigh);
 }
예제 #2
0
 public SantaClausHouse(SantaClaus santa, Sleigh sleigh)
 {
     Santa  = santa;
     Sleigh = sleigh;
 }