9 references to GetText
System.Windows.Forms (1)
System\Windows\Forms\OLE\DataObject.cs (1)
346public virtual string GetText() => GetText(TextDataFormat.UnicodeText);
System.Windows.Forms.Tests (8)
System\Windows\Forms\DataObjectTests.cs (8)
879.Setup(o => o.GetText(TextDataFormat.UnicodeText)) 883mockDataObject.Verify(o => o.GetText(TextDataFormat.UnicodeText), Times.Once()); 891dataObject.GetText(format).Should().BeEmpty(); 933dataObject.GetText(format).Should().BeSameAs(expected); 942.Setup(o => o.GetText(format)) 948mockDataObject.Object.GetText(format).Should().BeSameAs(expected); 957Action action = () => dataObject.GetText(format); 1740dataObject.GetText(format).Should().Be(textData);