private void Timeline_StepCompleted(object sender, SessionStepExecution execution) { _dispatcher.InvokeAsync(() => { if (CanContinueRecording(execution.Result)) { Recording.Continue(); } else { Recording.TryCancel(); } }).Task.Forget(); }
private bool TryContinue() { return(Recording.Continue()); }