Ejemplo n.º 1
0
 internal WfRuntimeManager(IServiceProvider serviceProvider)
 {
     _serviceProvider = serviceProvider;
     _dataAccessor    = serviceProvider.GetService <IDbContext>();
     _loggerFactory   = serviceProvider.GetService <ILoggerFactory>();
     BackwardContext  = new BackwardContext();
 }
Ejemplo n.º 2
0
 internal WfRuntimeManager(IDbContext dbContext, ILoggerFactory loggerFactory)
 {
     _dataAccessor   = dbContext;
     _loggerFactory  = loggerFactory;
     BackwardContext = new BackwardContext();
 }