Ejemplo n.º 1
0
        public string GetMyShit()
        {
            var strings = new List <string>();

            if (Tasks.Any())
            {
                strings.Add($"<strong class='text-success'>Tasks {Tasks.GetItemDescription()}</strong>");
            }
            if (Bugs.Any())
            {
                strings.Add($"<strong class='text-danger'>Bugs {Bugs.GetItemDescription()}</strong>");
            }
            if (Changesets.Any())
            {
                strings.Add($"<strong class='text-info'>Changesets {Changesets.GetItemDescription()}</strong>");
            }

            return(string.Join(" - ", strings));
        }