public ITask <List <GitLogEntry> > Log() { if (repositoryManager == null) { return(new FuncListTask <GitLogEntry>(new NotReadyException().ToTask <List <GitLogEntry> >())); } return(repositoryManager.Log()); }
public ITask <List <GitLogEntry> > Log() { if (repositoryManager == null) { return(new FuncListTask <GitLogEntry>(TaskHelpers.GetCompletedTask(new List <GitLogEntry>()))); } return(repositoryManager.Log()); }
private void UpdateGitLog() { repositoryManager?.Log() .ThenInUI((b, log) => { CurrentLog = log; }) .Start(); }