Beispiel #1
0
        public ITask UpdateGitLog()
        {
            var task = GitClient.Log()
                       .Then(logEntries =>
            {
                GitLogUpdated?.Invoke(logEntries);
            });

            return(HookupHandlers(task, false));
        }
 public void Reset()
 {
     IsBusy.Reset();
     IsNotBusy.Reset();
     CurrentBranchUpdated.Reset();
     GitAheadBehindStatusUpdated.Reset();
     GitStatusUpdated.Reset();
     GitLocksUpdated.Reset();
     GitLogUpdated.Reset();
     LocalBranchesUpdated.Reset();
     RemoteBranchesUpdated.Reset();
 }
Beispiel #3
0
        public void UpdateGitLog()
        {
            var task = GitClient.Log();

            task = HookupHandlers(task, false, false);
            task.Then((success, logEntries) =>
            {
                if (success)
                {
                    GitLogUpdated?.Invoke(logEntries);
                }
            }).Start();
        }