Exemple #1
0
 public virtual void Restore(IActivityStorage storage)
 {
     if (!CanInduceIdle)
     {
         return;
     }
     _onComplete = storage.GetCallback(ON_COMPLETE);
     _token      = storage.GetToken(TOKEN);
 }
 public void Restore(IActivityStorage storage)
 {
     _onComplete = storage.GetCallback(ON_COMPLETE);
     _token      = storage.GetToken(TOKEN);
 }
 public void Restore(IActivityStorage storage)
 {
     _currentState = storage.Get <String>(CURRENT_STATE);
     _onComplete   = storage.GetCallback(ON_COMPLETE);
     _token        = storage.GetToken(TOKEN);
 }