public ITask ListLocks() { if (repositoryManager == null) { return(new ActionTask(new NotReadyException().ToTask <bool>())); } return(repositoryManager.ListLocks(false)); }
public ITask ListLocks() { if (repositoryManager == null) { return(new ActionTask(TaskExtensions.CompletedTask)); } return(repositoryManager.ListLocks(false)); }
private void UpdateLocks() { if (CurrentRemote.HasValue) { repositoryManager?.ListLocks(false) .ThenInUI((b, locks) => { CurrentLocks = locks; }) .Start(); } }
public ITask ListLocks() { return(repositoryManager.ListLocks(false)); }