void UpdateDependencies(OmniSharp.Dnx.Project project, DependenciesMessage message) { DnxProject matchedProject = FindProjectByProjectJsonFileName(project.Path); if (matchedProject != null) { matchedProject.UpdateDependencies(message); } }
public DependencyNode( DependenciesMessage message, DependencyDescription dependency, FrameworkNode parentNode = null) { this.message = message; this.dependency = dependency; this.parentNode = parentNode; }
public void DependenciesUpdated(OmniSharp.Dnx.Project project, DependenciesMessage message) { DispatchService.GuiDispatch(() => UpdateDependencies(project, message)); }
public FrameworkNode(DependenciesMessage message) { this.message = message; rootDependency = message.Dependencies[message.RootDependency]; }
// 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(OmniSharp.Dnx.Project project, DependenciesMessage message) { DnxServices.ProjectService.DependenciesUpdated(project, message); }
public DependencyNode(DependenciesMessage message, DependencyDescription dependency) { this.message = message; this.dependency = dependency; }
public void DependenciesUpdated(OmniSharp.Dnx.Project project, DependenciesMessage message) { Runtime.RunInMainThread(() => UpdateDependencies(project, message)); }
public void UpdateDependencies(DependenciesMessage message) { dependencies[message.Framework.FrameworkName] = message; OnDependenciesChanged(); }