Example #1
0
        public ITask <List <GitLogEntry> > Log()
        {
            if (repositoryManager == null)
            {
                return(new FuncListTask <GitLogEntry>(new NotReadyException().ToTask <List <GitLogEntry> >()));
            }

            return(repositoryManager.Log());
        }
Example #2
0
        public ITask <List <GitLogEntry> > Log()
        {
            if (repositoryManager == null)
            {
                return(new FuncListTask <GitLogEntry>(TaskHelpers.GetCompletedTask(new List <GitLogEntry>())));
            }

            return(repositoryManager.Log());
        }
Example #3
0
 private void UpdateGitLog()
 {
     repositoryManager?.Log()
     .ThenInUI((b, log) => { CurrentLog = log; })
     .Start();
 }