Exemplo n.º 1
0
 public ExampleClient(StatefulServiceContext serviceContext, IReliableStateManagerReplica2 reliableStateManagerReplica,
                      IActorEventSubscriptionHelper subscriptionHelper, IActorProxyFactory actorProxyFactory)
     : base(serviceContext, reliableStateManagerReplica)
 {
     if (actorProxyFactory == null)
     {
         throw new ArgumentNullException(nameof(actorProxyFactory));
     }
     _subscriptionHelper = subscriptionHelper ?? new ActorEventSubscriptionHelper();
     _actorProxyFactory  = actorProxyFactory;
 }
Exemplo n.º 2
0
 public ExampleClient(StatefulServiceContext serviceContext, IActorEventSubscriptionHelper subscriptionHelper)
     : base(serviceContext)
 {
     _subscriptionHelper = subscriptionHelper ?? new ActorEventSubscriptionHelper();
 }