예제 #1
0
 public Port(string name, Wharf wharf, Harbor harbor)
 {
     Name    = name;
     Wharf   = wharf;
     Harbor  = harbor;
     Rapport = new Rapport(Name, Wharf, Harbor);
 }
예제 #2
0
 public Rapport(string portName, Wharf wharf, Harbor harbor)
 {
     _portName = portName;
     _wharf    = wharf;
     _harbor   = harbor;
 }