Ejemplo n.º 1
0
 public static IEnumerable <RawItem> GetRecipe <T>(this T product, DepartmentFlag flag) where T : Product
 {
     foreach (RawItem Item in ReciptCollector.SelectRawItems(product, flag))
     {
         yield return(Item);
     }
     yield break;
 }
Ejemplo n.º 2
0
 public static IEnumerable <RawItem> GetRecipe <T>(this T product) where T : Structure.Product
 {
     foreach (RawItem Item in ReciptCollector.SelectRawItems(product))
     {
         yield return(Item);
     }
     yield break;
 }