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; }
public ExampleClient(StatefulServiceContext serviceContext, IActorEventSubscriptionHelper subscriptionHelper) : base(serviceContext) { _subscriptionHelper = subscriptionHelper ?? new ActorEventSubscriptionHelper(); }