Exemplo n.º 1
0
 private async void RepositoryManager_FileStatusUpdate(object sender, GitFilesStatusUpdateEventArgs e)
 {
     try
     {
         ThreadHelper.JoinableTaskFactory.Run(async delegate {
             await ProcessFileStatusUpdate((GitRepository)sender, e);
         });
     }
     catch (Exception ex)
     {
         Debug.WriteLine("Error in RepositoryManager_FileChanged: " + ex.Message);
     }
 }
 private void FireFileStatusUpdateEvent(object sender, GitFilesStatusUpdateEventArgs e)
 {
     _onFilesStatusUpdateEventHandler?.Invoke(sender, e);
 }
 private void Repo_FileStatusUpdate(object sender, GitFilesStatusUpdateEventArgs e)
 {
     FireFileStatusUpdateEvent(sender,e);
 }
Exemplo n.º 4
0
 private async Task ProcessFileStatusUpdate(GitRepository repo, GitFilesStatusUpdateEventArgs e)
 {
     //await UpdateSolutionFiles(repo, e.Files);
     await UpdateSolutionFileStatus(repo, e.Files);
 }
 private async void CurrentTracker_FileStatusUpdate(object sender, GitFilesStatusUpdateEventArgs e)
 {
     await Refresh(e.Files);
 }
 private void FireFileStatusUpdateEvent(object sender, GitFilesStatusUpdateEventArgs e)
 {
     _onFilesStatusUpdateEventHandler?.Invoke(sender, e);
 }
 private void Repo_FileStatusUpdate(object sender, GitFilesStatusUpdateEventArgs e)
 {
     FireFileStatusUpdateEvent(sender, e);
 }
 private async Task ProcessFileStatusUpdate(GitRepository repo, GitFilesStatusUpdateEventArgs e)
 {
     //await UpdateSolutionFiles(repo, e.Files);
     await UpdateSolutionFileStatus(repo, e.Files);
 }
        private async void RepositoryManager_FileStatusUpdate(object sender, GitFilesStatusUpdateEventArgs e)
        {

            try
            {
                ThreadHelper.JoinableTaskFactory.Run(async delegate {
                    await ProcessFileStatusUpdate((GitRepository)sender, e);
                });
            }
            catch (Exception ex)
            {
                Debug.WriteLine("Error in RepositoryManager_FileChanged: " + ex.Message);
            }
        }