コード例 #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)));
 }