public SessionFactoryImpl(HttpServletRequest request, IList <string> supportedEngines, CypherExecutor cypherExecutor) { this._request = request; this._httpSession = request.getSession(true); this._cypherExecutor = cypherExecutor; EnableEngines(supportedEngines); }
public CypherSession(CypherExecutor cypherExecutor, LogProvider logProvider, HttpServletRequest request) { this._cypherExecutor = cypherExecutor; this._log = logProvider.getLog(this.GetType()); this._request = request; }
//JAVA TO C# CONVERTER TODO TASK: Most Java annotations will not have direct .NET equivalent attributes: //ORIGINAL LINE: public ConsoleService(@Context Config config, @Context Database database, @Context LogProvider logProvider, @Context HttpServletRequest req, @Context OutputFormat output, @Context CypherExecutor cypherExecutor) public ConsoleService(Config config, Database database, LogProvider logProvider, HttpServletRequest req, OutputFormat output, CypherExecutor cypherExecutor) : this(new SessionFactoryImpl(req, config.get(ServerSettings.console_module_engines), cypherExecutor), database, logProvider, output) { }