예제 #1
0
 private IEnumerable <Dialog_InfoCard.Hyperlink> GetIngredientsHyperlinks()
 {
     return(Dialog_InfoCard.DefsToHyperlinks(from i in ingredients
                                             where i.IsFixedIngredient
                                             select i.FixedIngredient into i
                                             where i != null
                                             select i));
 }
예제 #2
0
 private IEnumerable <Dialog_InfoCard.Hyperlink> GetProductsHyperlinks()
 {
     return(Dialog_InfoCard.DefsToHyperlinks(products.Select((ThingDefCountClass i) => i.thingDef)));
 }