public virtual void Store(IActivityStorage storage) { if (!CanInduceIdle) { return; } storage.SetCallback(ON_COMPLETE, _onComplete); storage.SetToken(TOKEN, _token); }
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); }
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); }