internal Server(IHostingModel hostingModel, string appFolder, string tempFolder) { this._hostingModel = hostingModel; this._repository = new FileSystemRepository(new FileSystemRepositoryConfiguration(appFolder, tempFolder)); this._scheduler = new SameThreadTaskScheduler("AppServer"); Logger.Info(this, "Created, app folder = " + appFolder + ", temp folder = " + tempFolder + ", hosting model = " + this._hostingModel.GetType().FullName); }
internal Server(IHostingModel hostingModel, string appFolder, string tempFolder) { this._hostingModel = hostingModel; this._repository = new FileSystemRepository(new FileSystemRepositoryConfiguration(appFolder, tempFolder)); this._scheduler = new SameThreadTaskScheduler("AppServer"); Logger.Info(this, "Created, app folder = " + appFolder + ", temp folder = " + tempFolder + ", hosting model = " + this._hostingModel.GetType().FullName); }