Ejemplo n.º 1
0
        public IngredientAdder AddRaw(string raw)
        {
            var result = context.ParseIngredientUsage(raw);

            if (result is Match)
            {
                return(AddIngredientUsage(result.Usage));
            }

            throw new CouldNotParseUsageException(result, raw);
        }