Exemplo n.º 1
0
        public void Setup(params object[] @params)
        {
            var context = @params.OfType <IOutboxDbContext>()
                          .LastOrDefault();

            outboxDbContext = context;
        }
 public OutboxPersister(INServiceBusDbContextFactory dbContextFactory)
 {
     _dbContext = dbContextFactory.CreateOutboxDbContext();
 }
 public OutboxRepository(IOutboxDbContext dbContext)
 {
     this.dbContext = dbContext;
 }