Exemplo n.º 1
0
        public void AddLineWithMultipleFormattingOptions()
        {
            var boldText   = WebexTeamsFormatting.Bold("Bold");
            var italicText = WebexTeamsFormatting.Italic("Italic");
            var inlineText = WebexTeamsFormatting.Inline("Inline");

            var expected = "Line with **Bold**, *Italic* and `Inline`.";

            AssertPayload(x => x.
                          AddLines($"Line with {boldText}, {italicText} and {inlineText}."),
                          expected);
        }
 public void AddLinesByParts()
 {
     AssertPayload(x => x.
                   AddLine("Some message", "made up of", "", WebexTeamsFormatting.Bold("parts")),
                   "Some message made up of **parts**");
 }