public void Restore(IActivityStorage storage)
 {
     _onComplete = storage.GetCallback(ON_COMPLETE);
     _next       = storage.Get <Int32>(NEXT);
     _token      = storage.GetToken(TOKEN);
 }
 public void Restore(IActivityStorage storage)
 {
     _currentState = storage.Get <String>(CURRENT_STATE);
     _onComplete   = storage.GetCallback(ON_COMPLETE);
     _token        = storage.GetToken(TOKEN);
 }