8 references to SetAudio
System.Windows.Forms (1)
System\Windows\Forms\OLE\DataObject.cs (1)
162
public virtual void SetAudio(byte[] audioBytes) =>
SetAudio
(new MemoryStream(audioBytes.OrThrowIfNull()));
System.Windows.Forms.Tests (7)
System\Windows\Forms\DataObjectTests.cs (7)
846
.Setup(o => o.
SetAudio
(It.IsAny<MemoryStream>()))
849
mockDataObject.Verify(o => o.
SetAudio
(It.IsAny<MemoryStream>()), Times.Once());
884
dataObject.
SetAudio
(audioStream);
901
.Setup(o => o.
SetAudio
(audioStream))
906
mockDataObject.Object.
SetAudio
(audioStream);
919
dataObject.
SetAudio
(audioStream);
927
Action action = () => dataObject.
SetAudio
((Stream)null);