Ejemplo n.º 1
0
        private string BodyText()
        {
            s_Text.Clear();

            behaviour.Description(s_Text);

            if (s_Text.Length == 0)
            {
                s_Text.Append(NiceName());
            }

            if (!string.IsNullOrEmpty(behaviour.comment))
            {
                s_Text.AppendLine();
                s_Text.AppendLine();
                s_Text.Append(behaviour.comment);
            }

            if (!behaviour.IsValid())
            {
                s_Text.AppendLine();
                behaviour.Error(s_Text);
            }

            return(s_Text.ToString());
        }