Пример #1
0
        public List <Yeast> GetYeasts(IndexItem indexItem)
        {
            var          startTime = TimetrackingStart();
            string       content   = GetRecipeContent(indexItem.PickName);
            List <Yeast> results   = YeastParser.Parse(content);

            Logger.Debug(string.Format("Hentede liste med {0} gærelementer på {1}", results.Count(), TimetrackingEnd(startTime)));

            return(results);
        }
Пример #2
0
        public RecipeWebDao()
        {
            RecipeParser         = new RecipeParser();
            HopParser            = new HopParser();
            MaltParser           = new MaltParser();
            YeastParser          = new YeastParser();
            BeerstyleGroupParser = new BeerstyleGroupParser();

            /*
             * List<Hop> hopList = hopParser.Parse(content);
             * List<Malt> maltList = maltParser.Parse(content);
             * List<Yeast> yeastList = yeastParser.Parse(content);
             * */
        }