Esempio n. 1
0
 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);
 }
Esempio n. 3
0
 public int AdviseHierarchyEvents(IVsHierarchyEvents pEventSink, out uint pdwCookie)
 {
     pdwCookie = _eventSinks.Add(pEventSink);
     return(0);
 }
Esempio n. 4
0
 /// <summary>
 /// Override event hierarchy notifications.
 /// </summary>
 internal uint AdviseHierarchyEvents(IVsHierarchyEvents eventSink)
 {
     return(eventSinkCollection.Add(eventSink) + 1);
 }
Esempio n. 5
0
 /// <include file='doc\EditorView.uex' path='docs/doc[@for="OleEditorView.Advise"]/*' />
 public virtual void Advise(IAdviseSink sink, out uint cookie)
 {
     cookie = eventSinks.Add(sink);
 }
Esempio n. 6
0
 void IConnectionPoint.Advise(object pUnkSink, out uint pdwCookie)
 {
     pdwCookie = eventSinks.Add(pUnkSink);
 }