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