Implemented interface member:
method
GetFormats
System.Windows.Forms.IDataObject.GetFormats()
12 references to GetFormats
System.Windows.Forms.Tests (12)
System\Windows\Forms\ClipboardTests.cs (2)
124result1.GetFormats().Should().BeEquivalentTo(result2.GetFormats());
System\Windows\Forms\DataObjectTests.cs (9)
680dataObject.GetFormats().Cast<string>().Should().BeEmpty(); 688dataObject.GetFormats().Should().Equal(["format1"]); 691dataObject.GetFormats().Should().Equal(["format1", "UnicodeText"]); 695dataObject.GetFormats().OrderBy(s => s).Should().Equal(["format1", "format2", "UnicodeText"]); 699dataObject.GetFormats().OrderBy(s => s).Should().Equal(["Bitmap", "format1", "format2", "System.Drawing.Bitmap", "UnicodeText", "WindowsForms10PersistentObject"]); 715.Setup(o => o.GetFormats()) 721mockDataObject.Object.GetFormats().Should().BeSameAs(result); 743dataObject.GetFormats().Should().BeSameAs(result); 2812data.GetFormats().Should().BeEquivalentTo([typeof(Bitmap).FullName, nameof(Bitmap), customFormat]);
System\Windows\Forms\DragDropHelperTests.cs (1)
253foreach (string format in dataObject.GetFormats())