public void UpdateDependencies(DependenciesMessage message) { dependencies[message.Framework.FrameworkName] = message; OnDependenciesChanged(); }
// public void OnDocumentChanged(DocumentId documentId, SourceText text) // { // OnDocumentTextChanged(documentId, text, PreservationMode.PreserveIdentity); // } // // public DocumentId GetDocumentId(string filePath) // { // var documentIds = CurrentSolution.GetDocumentIdsWithFilePath(filePath); // return documentIds.FirstOrDefault(); // } // // public IEnumerable<Document> GetDocuments(string filePath) // { // return CurrentSolution.GetDocumentIdsWithFilePath(filePath).Select(id => CurrentSolution.GetDocument(id)); // } // // public Document GetDocument(string filePath) // { // var documentId = GetDocumentId(filePath); // if (documentId == null) // { // return null; // } // return CurrentSolution.GetDocument(documentId); // } // // public override bool CanApplyChange(ApplyChangesKind feature) // { // return true; // } public void DependenciesUpdated(Project project, DependenciesMessage message) { DnxServices.ProjectService.DependenciesUpdated(project, message); }
// public void SetCompilationOptions(ProjectId projectId, CompilationOptions options) // { // OnCompilationOptionsChanged(projectId, options); // } // // public void SetParseOptions(ProjectId projectId, ParseOptions parseOptions) // { // OnParseOptionsChanged(projectId, parseOptions); // } // // public void OnDocumentChanged(DocumentId documentId, SourceText text) // { // OnDocumentTextChanged(documentId, text, PreservationMode.PreserveIdentity); // } // // public DocumentId GetDocumentId(string filePath) // { // var documentIds = CurrentSolution.GetDocumentIdsWithFilePath(filePath); // return documentIds.FirstOrDefault(); // } // // public IEnumerable<Document> GetDocuments(string filePath) // { // return CurrentSolution.GetDocumentIdsWithFilePath(filePath).Select(id => CurrentSolution.GetDocument(id)); // } // // public Document GetDocument(string filePath) // { // var documentId = GetDocumentId(filePath); // if (documentId == null) // { // return null; // } // return CurrentSolution.GetDocument(documentId); // } // // public override bool CanApplyChange(ApplyChangesKind feature) // { // return true; // } public void DependenciesUpdated(Project project, DependenciesMessage message) { DnxServices.ProjectService.DependenciesUpdated(project, message); }
public void UpdateDependencies(DependenciesMessage message) { dependencies[message.Framework.FrameworkName] = message; OnDependenciesChanged (); }