8 references to SetAudio
System.Windows.Forms (1)
System\Windows\Forms\OLE\DataObject.cs (1)
348
public virtual void SetAudio(byte[] audioBytes) =>
SetAudio
(new MemoryStream(audioBytes.OrThrowIfNull()));
System.Windows.Forms.Tests (7)
System\Windows\Forms\DataObjectTests.cs (7)
992
.Setup(o => o.
SetAudio
(It.IsAny<MemoryStream>()))
995
mockDataObject.Verify(o => o.
SetAudio
(It.IsAny<MemoryStream>()), Times.Once());
1030
dataObject.
SetAudio
(audioStream);
1047
.Setup(o => o.
SetAudio
(audioStream))
1052
mockDataObject.Object.
SetAudio
(audioStream);
1065
dataObject.
SetAudio
(audioStream);
1073
Action action = () => dataObject.
SetAudio
((Stream)null);