Spontaneous.WebApp.Models.RecipeModel.ToString C# (CSharp) Method

ToString() public method

public ToString ( ) : string
return string
        public override string ToString()
        {
            string strIngredients = (Ingredients == null ? "Empty" : Ingredients.Count.ToString());
            string strNutritionFactsCarbs = (NutritionFacts == null ? "Empty" : NutritionFacts.TotalCarbohydrate.ToString());
            return string.Format(" RecipeModel: Id={0}, Description={1}, Ingredients={2}, NutritionFactsCarbs={3}."
                , Id, Description, strIngredients, strNutritionFactsCarbs);
        }
RecipeModel