コード例 #1
0
 protected Station()
 {
     Name = $"Station#{++_instanceCounter}";
     FaultHelper.PrefixFaultNames(this, Name);
 }
コード例 #2
0
 public IngredientTank(string stationName, IngredientType ingredientType)
 {
     IngredientType = ingredientType;
     FaultHelper.PrefixFaultNames(this, $"{stationName}.{ingredientType}");
 }