Implemented interface member:
method
GetData
System.Windows.Forms.IDataObject.GetData(System.Type)
9 references to GetData
System.Windows.Forms.Tests (8)
System\Windows\Forms\ClipboardTests.cs (5)
275
dataObject.
GetData
(data.GetType()).Should().Be(data);
288
actual.
GetData
(data.GetType()).Should().Be(data);
302
dataObject.
GetData
(data.GetType()).Should().Be(data);
317
actual.
GetData
(data.GetType()).Should().Be(data);
331
dataObject.
GetData
(data.GetType()).Should().Be(data);
System\Windows\Forms\DataObjectTests.cs (3)
342
dataObject.
GetData
(format).Should().BeNull();
363
.Setup(o => o.
GetData
(It.IsAny<Type>()))
370
mockDataObject.Object.
GetData
(format).Should().BeSameAs(expectedResult);
System.Windows.Forms.UI.IntegrationTests (1)
DesignBehaviorsTests.cs (1)
187
ToolboxItem? item = ((DataObject)serializedObject)?.
GetData
(typeof(ToolboxItem)) as ToolboxItem;