public void OnParseOptionsChanged(ProjectId projectId, ParseOptions options)
 {
     DispatchService.GuiDispatch(() => {
         var locator        = new DnxProjectLocator(context);
         DnxProject project = locator.FindProject(projectId);
         if (project != null)
         {
             project.UpdateParseOptions(locator.FrameworkProject, options);
         }
     });
 }
 public void OnReferencesUpdated(ProjectId projectId, FrameworkProject frameworkProject)
 {
     DispatchService.GuiDispatch(() => {
         var locator        = new DnxProjectLocator(context);
         DnxProject project = locator.FindProject(projectId);
         if (project != null)
         {
             project.UpdateReferences(frameworkProject);
         }
     });
 }
 public void OnCompilationOptionsChanged(ProjectId projectId, CSharpCompilationOptions compilationOptions, CSharpParseOptions parseOptions)
 {
     Runtime.RunInMainThread(() => {
         var locator        = new DnxProjectLocator(context);
         DnxProject project = locator.FindProject(projectId);
         if (project != null)
         {
             project.UpdateCompilationOptions(locator.FrameworkProject, compilationOptions, parseOptions);
         }
     });
 }
 public void OnReferencesUpdated(ProjectId projectId, FrameworkProject frameworkProject)
 {
     Runtime.RunInMainThread(() => {
         var locator        = new DnxProjectLocator(context);
         DnxProject project = locator.FindProject(projectId);
         if (project != null)
         {
             project.UpdateReferences(frameworkProject);
         }
     });
 }
 public void OnReferencesUpdated(ProjectId projectId, FrameworkProject frameworkProject)
 {
     DispatchService.GuiDispatch (()  => {
         var locator = new DnxProjectLocator (context);
         DnxProject project = locator.FindProject (projectId);
         if (project != null) {
             project.UpdateReferences (frameworkProject);
         }
     });
 }
 public void OnParseOptionsChanged(ProjectId projectId, ParseOptions options)
 {
     DispatchService.GuiDispatch (()  => {
         var locator = new DnxProjectLocator (context);
         DnxProject project = locator.FindProject (projectId);
         if (project != null) {
             project.UpdateParseOptions (locator.FrameworkProject, options);
         }
     });
 }