コード例 #1
0
 public ScriptEnvironment(Engine engine, IDbContext dbContext, IApplicationHost host, ISmsService smsService, String currentDir)
 {
     _engine     = engine;
     _dbContext  = dbContext;
     _config     = new ScriptConfig(host);
     _smsService = smsService;
     _host       = host;
     _currentDir = currentDir;
 }
コード例 #2
0
 public ScriptEnvironment(Engine engine, IDbContext dbContext, IApplicationHost host)
 {
     _engine    = engine;
     _dbContext = dbContext;
     _config    = new ScriptConfig(host);
 }