14 implementations of SetData
ComDisabled.Tests (1)
DataObjectComTests.cs (1)
82public void SetData(string format, bool autoConvert, object data) => throw new NotImplementedException();
System.Windows.Forms (4)
System\Windows\Forms\OLE\DataObject.Composition.cs (1)
94public void SetData(string format, bool autoConvert, object? data) => _winFormsDataObject.SetData(format, autoConvert, data);
System\Windows\Forms\OLE\DataObject.Composition.NativeToWinFormsAdapter.cs (1)
623public void SetData(string format, bool autoConvert, object? data) { }
System\Windows\Forms\OLE\DataObject.cs (1)
255public virtual void SetData(string format, bool autoConvert, object? data) =>
System\Windows\Forms\OLE\DataObject.DataStore.cs (1)
85public void SetData(string format, bool autoConvert, object? data)
System.Windows.Forms.Design (1)
System\Windows\Forms\Design\OleDragDropHandler.ComponentDataObject.cs (1)
277public void SetData(string format, bool autoConvert, object? data)
System.Windows.Forms.Tests (8)
System\Windows\Forms\ClipboardTests.cs (2)
639void IDataObject.SetData(string format, bool autoConvert, object? data) => throw new NotImplementedException(); 1144public void SetData(string format, bool autoConvert, object? data) => throw new NotImplementedException();
System\Windows\Forms\DataObjectComTests.cs (1)
61public void SetData(string format, bool autoConvert, object data) => throw new NotImplementedException();
System\Windows\Forms\DataObjectExtensionsTests.cs (2)
175public void SetData(string format, bool autoConvert, object? data) => throw new NotImplementedException(); 191public void SetData(string format, bool autoConvert, object? data) => throw new NotImplementedException();
System\Windows\Forms\DataObjectTests.cs (1)
2688public void SetData(string format, bool autoConvert, object data) => throw new NotImplementedException();
System\Windows\Forms\DragEventArgsTests.cs (1)
104public void SetData(string format, bool autoConvert, object data) => throw new NotImplementedException();
System\Windows\Forms\ToolStripItemTests.cs (1)
10248public void SetData(string format, bool autoConvert, object data) => throw new NotImplementedException();
15 references to SetData
System.Windows.Forms (1)
System\Windows\Forms\OLE\DataObject.Composition.cs (1)
94public void SetData(string format, bool autoConvert, object? data) => _winFormsDataObject.SetData(format, autoConvert, data);
System.Windows.Forms.Tests (14)
System\Windows\Forms\DataObjectTests.cs (14)
1004.Setup(o => o.SetData(DataFormats.WaveAudio, false, It.IsAny<MemoryStream>())) 1008mockDataObject.Verify(o => o.SetData(DataFormats.WaveAudio, false, It.IsAny<MemoryStream>()), Times.Once()); 1062.Setup(o => o.SetData(DataFormats.WaveAudio, false, audioStream)) 1066mockDataObject.Verify(o => o.SetData(DataFormats.WaveAudio, false, audioStream), Times.Once()); 1450.Setup(o => o.SetData(format, autoConvert, data)) 1454mockDataObject.Verify(o => o.SetData(format, autoConvert, data), Times.Once()); 1571.Setup(o => o.SetData(DataFormats.FileDrop, true, It.IsAny<string[]>())) 1575mockDataObject.Verify(o => o.SetData(DataFormats.FileDrop, true, It.IsAny<string[]>()), Times.Once()); 1633.Setup(o => o.SetData(DataFormats.Bitmap, true, image)) 1637mockDataObject.Verify(o => o.SetData(DataFormats.Bitmap, true, image), Times.Once()); 1711.Setup(o => o.SetData(DataFormats.UnicodeText, false, textData)) 1715mockDataObject.Verify(o => o.SetData(DataFormats.UnicodeText, false, textData), Times.Once()); 1805.Setup(o => o.SetData(expectedFormat, false, textData)) 1809mockDataObject.Verify(o => o.SetData(expectedFormat, false, textData), Times.Once());