public void resume_turns_state_active() { lifecycle.Initialize(); lifecycle.Suspend(); lifecycle.Resume(); Assert.That(lifecycle.state, Is.EqualTo(LifecycleState.ACTIVE)); Assert.That(lifecycle.Active, Is.True); }
public IContext Resume(Action callback = null) { _lifecycle.Resume(callback); return(this); }