Exemplo n.º 1
0
 public Fulfillment(StatefulServiceContext context)
     : base(context)
 {
     Init();
     this.Trades = new TradeQueue(this.StateManager, TradeQueueName);
     this.Users  = new UserStoreClient();
 }
Exemplo n.º 2
0
 // 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();
 }