示例#1
0
 public ToyCreator(IToyBuilder builder)
 {
     toyBuilder = builder;
 }
 public ToyDirector(IToyBuilder toyBuilder)
 {
     _toyBuilder = toyBuilder;
 }
示例#3
0
 public ToyCreator(IToyBuilder toyBuilder)
 {
     _toyBuilder = toyBuilder;
 }
示例#4
0
 public ToyCreator(IToyBuilder toyBuilder)
 {
     this.toyBuilder = toyBuilder;
 }