Exemple #1
0
        private void addDescriptionText(Description description)
        {
            if (description.HasExplicitShortDescription())
            {
                Add("p").AddClass("short-desc").Text(description.ShortDescription);
            }

            if (description.LongDescription.IsNotEmpty())
            {
                Add("p").AddClass("long-desc").Text(description.LongDescription);
            }
        }