Пример #1
0
 public KnifeStore(KnifeFactory knifeFactory)
 {
     this.knifeFactory = knifeFactory;
 }
Пример #2
0
 public KnifeStore()
 {
     knifeFactory = new KnifeFactory();
 }