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