Implemented interface member:
method
GetData
System.Windows.Forms.IDataObject.GetData(System.String)
14 references to GetData
System.Windows.Forms (1)
System\Windows\Forms\OLE\DataObject.cs (1)
100
public virtual object? GetData(Type format) => format is null ? null :
GetData
(format.FullName!);
System.Windows.Forms.Tests (13)
System\Windows\Forms\ClipboardTests.cs (1)
644
dataObject.
GetData
(DataFormats.Text).Should().Be(testString);
System\Windows\Forms\DataObjectTests.ClipboardTests.cs (1)
115
dataObject.
GetData
(format).Should().BeSameAs(input);
System\Windows\Forms\DataObjectTests.cs (8)
250
dataObject.
GetData
(format).Should().BeNull();
273
.Setup(o => o.
GetData
(format))
279
mockDataObject.Object.
GetData
(format).Should().BeSameAs(result);
293
dataObject.
GetData
(format).Should().BeSameAs(result);
359
.Setup(o => o.
GetData
(formatName))
363
mockDataObject.Verify(o => o.
GetData
(formatName), Times.Exactly(expectedCallCount));
1028
dataObject.
GetData
(format).Should().Be(input);
1559
data.
GetData
(DataFormats.EnhancedMetafile).Should().BeNull();
System\Windows\Forms\DragDropHelperTests.cs (3)
111
DragDropFormat dragDropFormat = (DragDropFormat)dataObject.
GetData
(DragDropHelper.DRAGIMAGEBITS);
135
DragDropFormat dragDropFormat = (DragDropFormat)dataObject.
GetData
(DragDropHelper.DRAGIMAGEBITS);
250
if (dataObject.
GetData
(format) is DragDropFormat dragDropFormat)