Example #1
0
 SoftToy(string name, double price, string manufacturerName, int ageLimit, EnMaterialSoftToy material,
         EnFillerSoftToy filler, BaseInfoAboutGood bsInfo) : base(name, price, manufacturerName, ageLimit)
 {
     this.material = material;
     this.filler   = filler;
     this.bsInfo   = bsInfo;
 }
Example #2
0
 public SoftToy(SoftToyBuilder builder) : base(builder.GetName(), builder.GetPrice(), builder.GetManufacturerName(), builder.GetAgeLimit())
 {
     material = builder.GetMaterial();
     filler   = builder.GetFiller();
     bsInfo   = builder.GetBsInfo();
 }
Example #3
0
 public SoftToyBuilder SetFiller(EnFillerSoftToy filler)
 {
     this.filler = filler; return(this);
 }