Example #1
0
        public void SetNativeTextMultTest()
        {
            const string txt = @"“We’ve been here”";

            using var cb = new Clipboard();
            cb.SetText(txt, html);
        }
Example #2
0
 public void SetNativeTextHtmlTest()
 {
     using (var cb = new Clipboard())
         cb.SetText(html, TextDataFormat.Html);
     using (var cb = new Clipboard())
     {
         var outVal = cb.GetText(TextDataFormat.Html);
         Assert.That(outVal, Is.EqualTo(html));
     }
 }