12 implementations of DAdvise
ComDisabled.Tests (1)
DataObjectComTests.cs (1)
90public int DAdvise(ref FORMATETC pFormatetc, ADVF advf, IAdviseSink adviseSink, out int connection) => throw new NotImplementedException();
PresentationCore (1)
System\Windows\dataobject.cs (1)
545int IComDataObject.DAdvise(ref FORMATETC pFormatetc, ADVF advf, IAdviseSink pAdvSink, out int pdwConnection)
System.Windows.Forms (4)
System\Windows\Forms\OLE\DataObject.Composition.cs (1)
137public int DAdvise(ref FORMATETC pFormatetc, ADVF advf, IAdviseSink adviseSink, out int connection) => _runtimeDataObject.DAdvise(ref pFormatetc, advf, adviseSink, out connection);
System\Windows\Forms\OLE\DataObject.Composition.NativeToRuntimeAdapter.cs (1)
32int ComTypes.IDataObject.DAdvise(ref FORMATETC pFormatetc, ADVF advf, IAdviseSink adviseSink, out int connection)
System\Windows\Forms\OLE\DataObject.Composition.RuntimeToNativeAdapter.cs (1)
24public int DAdvise(ref FORMATETC pFormatetc, ADVF advf, IAdviseSink adviseSink, out int connection) => _runtimeDataObject.DAdvise(ref pFormatetc, advf, adviseSink, out connection);
System\Windows\Forms\OLE\DataObject.cs (1)
466int ComTypes.IDataObject.DAdvise(ref FORMATETC pFormatetc, ADVF advf, IAdviseSink pAdvSink, out int pdwConnection) =>
System.Windows.Forms.Tests (6)
System\Windows\Forms\ClipboardTests.cs (2)
609int ComTypes.IDataObject.DAdvise(ref ComTypes.FORMATETC pFormatetc, ComTypes.ADVF advf, ComTypes.IAdviseSink adviseSink, out int connection) => throw new NotImplementedException(); 1154public int DAdvise(ref ComTypes.FORMATETC pFormatetc, ComTypes.ADVF advf, ComTypes.IAdviseSink adviseSink, out int connection) => throw new NotImplementedException();
System\Windows\Forms\DataObjectComTests.cs (1)
69public int DAdvise(ref FORMATETC pFormatetc, ADVF advf, IAdviseSink adviseSink, out int connection) => throw new NotImplementedException();
System\Windows\Forms\DataObjectTests.cs (2)
1871public int DAdvise(ref FORMATETC pFormatetc, ADVF advf, IAdviseSink adviseSink, out int connection) => throw new NotImplementedException(); 2671public int DAdvise(ref FORMATETC pFormatetc, ADVF advf, IAdviseSink adviseSink, out int connection) => throw new NotImplementedException();
System\Windows\Forms\ToolStripItemTests.cs (1)
10262public int DAdvise(ref FORMATETC pFormatetc, ADVF advf, IAdviseSink adviseSink, out int connection) => throw new NotImplementedException();
7 references to DAdvise
PresentationCore (1)
System\Windows\dataobject.cs (1)
549return ((OleConverter)_innerData).OleDataObject.DAdvise(ref pFormatetc, advf, pAdvSink, out pdwConnection);
System.Windows.Forms (2)
System\Windows\Forms\OLE\DataObject.Composition.cs (1)
137public int DAdvise(ref FORMATETC pFormatetc, ADVF advf, IAdviseSink adviseSink, out int connection) => _runtimeDataObject.DAdvise(ref pFormatetc, advf, adviseSink, out connection);
System\Windows\Forms\OLE\DataObject.Composition.RuntimeToNativeAdapter.cs (1)
24public int DAdvise(ref FORMATETC pFormatetc, ADVF advf, IAdviseSink adviseSink, out int connection) => _runtimeDataObject.DAdvise(ref pFormatetc, advf, adviseSink, out connection);
System.Windows.Forms.Tests (4)
System\Windows\Forms\DataObjectTests.cs (4)
1896((HRESULT)comDataObject.DAdvise(ref formatetc, advf, adviseSink, out int connection)).Should().Be(HRESULT.E_NOTIMPL); 1908.Setup(o => o.DAdvise(ref It.Ref<FORMATETC>.IsAny, advf, adviseSink, out It.Ref<int>.IsAny)) 1918comDataObject.DAdvise(ref formatetc, advf, adviseSink, out int connection).Should().Be(1); 1921mockComDataObject.Verify(o => o.DAdvise(ref It.Ref<FORMATETC>.IsAny, advf, adviseSink, out It.Ref<int>.IsAny), Times.Once());