13 references to SetText
System.Windows.Forms (1)
System\Windows\Forms\OLE\DataObject.cs (1)
362public virtual void SetText(string textData) => SetText(textData, TextDataFormat.UnicodeText);
System.Windows.Forms.Tests (12)
System\Windows\Forms\DataObjectTests.cs (12)
1699.Setup(o => o.SetText(textData, TextDataFormat.UnicodeText)) 1702mockDataObject.Verify(o => o.SetText(textData, TextDataFormat.UnicodeText), Times.Once()); 1738dataObject.SetText(textData, format); 1790.Setup(o => o.SetText(textData, format)) 1795mockDataObject.Object.SetText(textData, format); 1808dataObject.SetText(textData, format); 1819((Action)(() => dataObject.SetText(textData, TextDataFormat.Text))).Should() 1828((Action)(() => dataObject.SetText("text", format))).Should() 2380dataObject.SetText("text", textDataFormat); 2423dataObject.SetText("text", textDataFormat); 2460dataObject.SetText("text", textDataFormat); 2482dataObject.SetText("text", textDataFormat);