public virtual int AdviseBuildStatusCallback(IVsBuildStatusCallback callback, out uint cookie) { cookie = callbacks.Add(callback); return(VSConstants.S_OK); }
public int AdviseBuildStatusCallback(IVsBuildStatusCallback pIVsBuildStatusCallback, out uint pdwCookie) { PrintCalled(); pdwCookie = m_callbacks.Add(pIVsBuildStatusCallback); return(VSConstants.S_OK); }
public int AdviseHierarchyEvents(IVsHierarchyEvents pEventSink, out uint pdwCookie) { pdwCookie = _eventSinks.Add(pEventSink); return(0); }
/// <summary> /// Override event hierarchy notifications. /// </summary> internal uint AdviseHierarchyEvents(IVsHierarchyEvents eventSink) { return(eventSinkCollection.Add(eventSink) + 1); }
/// <include file='doc\EditorView.uex' path='docs/doc[@for="OleEditorView.Advise"]/*' /> public virtual void Advise(IAdviseSink sink, out uint cookie) { cookie = eventSinks.Add(sink); }
void IConnectionPoint.Advise(object pUnkSink, out uint pdwCookie) { pdwCookie = eventSinks.Add(pUnkSink); }