public ServiceFabricOutboxStorage(/*SagaMetaModel sagaModel,*/ ServiceFabricStorageContext context) { //this.sagaModel = sagaModel; _context = context; storage = _context.StateManager.GetOrAddAsync<IReliableDictionary<string, StoredMessage>>("nservicebusOutbox").Result; }
public ServiceFabricTimeoutPersister(ServiceFabricStorageContext context) { _context = context; storages = context.StateManager.GetOrAddAsync<IReliableDictionary<string, List<TimeoutData>>>("nservicebusTimeout").Result; }
public ServiceFabricSubscriptionStorage(ServiceFabricStorageContext context) { _context = context; storage = context.StateManager.GetOrAddAsync<IReliableDictionary<string, ConcurrentDictionary<Address, object>>>("nservicebusSubscription").Result; }