private IEnumerator RestoreInterruptedAuthorizationContext() { var request = new Requests.Contexts.RestoreContextRequest(_authorizationContext); yield return(CoroutineManager.StartCoroutine(Send <Requests.Contexts.RestoreContextRequest, BooleanResponse>(request, true))); _authorizationContext.Status = RDataContextStatus.Started; }
public void RestoreContext(RDataBaseContext context, bool immediately = false) { if (!CheckAuthorized("restore context " + context.Name)) { return; } var request = new Requests.Contexts.RestoreContextRequest(context); CoroutineManager.StartCoroutine(Send <Requests.Contexts.RestoreContextRequest, BooleanResponse>(request, immediately)); }