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)); }
private IEnumerable <Dialog_InfoCard.Hyperlink> GetProductsHyperlinks() { return(Dialog_InfoCard.DefsToHyperlinks(products.Select((ThingDefCountClass i) => i.thingDef))); }