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