protected EventStoredActor(
     Microsoft.ServiceFabric.Actors.Runtime.ActorService actorService, ActorId actorId,
     ITimeProvider timeProvider = null,
     Func <IActorStateManager, IEventStoreSession> eventStoreSessionFactory = null)
     : base(actorService, actorId)
 {
     TimeProvider             = timeProvider;
     eventStoreSessionFactory = eventStoreSessionFactory ?? (sm => new EventStoreSession <TEventStream>(sm, this));
     EventStoreSession        = eventStoreSessionFactory(StateManager);
 }
        //private IActorTimer _updateTimer;

        /// <summary>
        /// Initializes a new instance of ActorService
        /// </summary>
        /// <param name="actorService">The Microsoft.ServiceFabric.Actors.Runtime.ActorService that will host this actor instance.</param>
        /// <param name="actorId">The Microsoft.ServiceFabric.Actors.ActorId for this actor instance.</param>
        public TestActorService(
            Microsoft.ServiceFabric.Actors.Runtime.ActorService actorService, ActorId actorId)
            : base(actorService, actorId)
        {
        }
 public TempEventStoredActor(ActorService actorService, ActorId actorId)
     : base(actorService, actorId)
 {
 }
 public PersonEventStoredActor(ActorService actorService, ActorId actorId)
     : base(actorService, actorId)
 {
 }
 ActorBase IActorActivator.Activate(ActorService actorService, ActorId actorId)
 {
     return(this.factory.Invoke(actorService, actorId));
 }