9 references to GetText
System.Windows.Forms (1)
System\Windows\Forms\OLE\DataObject.cs (1)
153public virtual string GetText() => GetText(TextDataFormat.UnicodeText);
System.Windows.Forms.Tests (8)
System\Windows\Forms\DataObjectTests.cs (8)
733.Setup(o => o.GetText(TextDataFormat.UnicodeText)) 737mockDataObject.Verify(o => o.GetText(TextDataFormat.UnicodeText), Times.Once()); 745dataObject.GetText(format).Should().BeEmpty(); 787dataObject.GetText(format).Should().BeSameAs(expected); 796.Setup(o => o.GetText(format)) 802mockDataObject.Object.GetText(format).Should().BeSameAs(expected); 811Action action = () => dataObject.GetText(format); 1458dataObject.GetText(format).Should().Be(textData);