public ConstructorGame(ConstructorBuilder builder) : base(builder.GetName(), builder.GetPrice(), builder.GetManufacturerName(), builder.GetAgeLimit()) { durationOfBuildInHour = builder.GetDurationOfBuildInHour(); countOfDetails = builder.GetCountOfDetails(); material = builder.GetMaterial(); bsInfo = builder.GetBsInfo(); }
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; }
ConstructorGame(string name, double price, string manufacturerName, int ageLimit, int durationOfBuildInHour, int countOfDetails, EnMaterialConstructor material, BaseInfoAboutGood bsInfo) : base(name, price, manufacturerName, ageLimit) { this.durationOfBuildInHour = durationOfBuildInHour; this.countOfDetails = countOfDetails; this.material = material; this.bsInfo = bsInfo; }
public SoftToy(SoftToyBuilder builder) : base(builder.GetName(), builder.GetPrice(), builder.GetManufacturerName(), builder.GetAgeLimit()) { material = builder.GetMaterial(); filler = builder.GetFiller(); bsInfo = builder.GetBsInfo(); }
public SoftToyBuilder SetBsInfo(BaseInfoAboutGood bsInfo) { this.bsInfo = bsInfo; return(this); }
public ConstructorBuilder SetBsInfo(BaseInfoAboutGood bsInfo) { this.bsInfo = bsInfo; return(this); }