public int OnLoadCompleted(int fReload) { ConnectionPoint.Unadvise(Cookie); callDocumentOpened(); return(VSConstants.S_OK); }
private void Unadvise() { if (m_connection != null && m_connection.Unadvise() == 0) { m_connection.Dispose(); m_connection = null; } }
public int OnLoadCompleted(int fReload) { ConnectionPoint.Unadvise(Cookie); //callDocumentOpened(); MessageBox.Show("TextBufferDataEventSink => OnLoadCompleted"); return(VSConstants.S_OK); }
public int OnLoadCompleted(int fReload) { // The load procedure completed. Now we can safely notify the // JiraEditorLinkManager about it and so we don't need to listen to these // events any more. ConnectionPoint.Unadvise(Cookie); JiraEditorLinkManager.OnDocumentOpened(TextLines); return(VSConstants.S_OK); }