Beispiel #1
0
 private Manufacturer FindManufacturer(string reference)
 {
     return(Manufacturers.GetValueOrDefault(reference ?? "") ?? GetUnknownManufacturer());
 }
Beispiel #2
0
 private Manufacturer GetManufacturer(string manufacturerId)
 {
     return(Manufacturers.GetValueOrDefault(manufacturerId) ?? Manufacturers.Values.First(x => x.Code == "UNKN"));
 }