public Fulfillment(StatefulServiceContext context) : base(context) { Init(); this.Trades = new TradeQueue(this.StateManager, TradeQueueName); this.Users = new UserStoreClient(); }
// This constructor is used during unit testing by setting a mock IReliableStateManagerReplica public Fulfillment(StatefulServiceContext context, IReliableStateManagerReplica reliableStateManagerReplica) : base(context, reliableStateManagerReplica) { this.Trades = new TradeQueue(this.StateManager, TradeQueueName); this.Users = new UserStoreClient(); }