Example #1
0
 public static string GetRecipeableItemType(this RecipeableItem item)
 {
     if (item != null)
     {
         if (item is PurchaseItem)
         {
             return("I");
         }
         if (item is ProductionItem)
         {
             return("P");
         }
     }
     return(null);
 }
Example #2
0
 public RecipeItem(decimal quantity, RecipeableItem recipeableItem)
 {
     Quantity       = quantity;
     RecipeableItem = recipeableItem;
 }
Example #3
0
 public RecipeItem(decimal quantity, RecipeableItem recipeableItem)
 {
     Quantity = quantity;
     RecipeableItem = recipeableItem;
 }