コード例 #1
0
 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);
 }
コード例 #2
0
 public IContext Resume(Action callback = null)
 {
     _lifecycle.Resume(callback);
     return(this);
 }