Esempio n. 1
0
 //Action<IProductOptions> optionalParams)
 public GermanyCar CreateNewGermanyCar(string brand,string name, int engineVol, int tankVol, string bodyType,
     string countryOfOrigin, int percentOfPrestige)
 {
     var germanyCar = new GermanyCar(brand,name, engineVol, tankVol, bodyType, countryOfOrigin, percentOfPrestige);
     OnGermanyCarCreation(germanyCar);
     return germanyCar;
 }
Esempio n. 2
0
 public void OnGermanyCarCreation(GermanyCar germanyCar)
 {
     _notifyUsersAction.Notify(germanyCar);
 }