/// <summary> /// Puts the specified additional document into the closed state /// </summary> public void CloseAdditionalDocument(DocumentID documentId) { Workspace.CloseAdditionalDocument((MSDocumentID)documentId); }
/// <summary> /// Puts the specified document into the closed state. /// </summary> public void CloseDocument(DocumentID documentId) { Workspace.CloseDocument((MSDocumentID)documentId); }
/// <summary> /// Puts the specified additional document into the open state. /// </summary> public void OpenAdditionalDocument(DocumentID documentId, bool activate = true) { Workspace.OpenAdditionalDocument((MSDocumentID)documentId, activate); }
//hmm, should this be cached? public CSDocument GetDocument(DocumentID did) { return(new CSDocument(Workspace.CurrentSolution.GetDocument(did))); }