Esempio n. 1
0
 public virtual void Store(IActivityStorage storage)
 {
     if (!CanInduceIdle)
     {
         return;
     }
     storage.SetCallback(ON_COMPLETE, _onComplete);
     storage.SetToken(TOKEN, _token);
 }
Esempio n. 2
0
 public void Store(IActivityStorage storage)
 {
     if (IsComplete)
     {
         return;
     }
     storage.SetCallback(ON_COMPLETE, _onComplete);
     storage.SetToken(TOKEN, _token);
 }
 public void Store(IActivityStorage storage)
 {
     storage.Set(CURRENT_STATE, _currentState);
     storage.SetCallback(ON_COMPLETE, _onComplete);
     storage.SetToken(TOKEN, _token);
 }
Esempio n. 4
0
 public void Store(IActivityStorage storage)
 {
     storage.SetCallback(ON_COMPLETE, _onComplete);
     storage.Set <Int32>(NEXT, _next);
     storage.SetToken(TOKEN, _token);
 }
 public void Store(IActivityStorage storage)
 {
     storage.SetCallback(ON_COMPLETE, _onComplete);
     storage.SetToken(TOKEN, _token);
     OnStore(storage);
 }