예제 #1
0
        public static GatewayImpl Create(string database, Dictionary <string, string> settings)
        {
            var ret = new GatewayImpl()
            {
                _database = database,
                _settings = settings
            };

            ret.Start();
            return(ret);
        }
예제 #2
0
 // Start the engine for a specified database and configuration settings
 public static GatewayBase Create(string database, Dictionary <string, string> settings)
 {
     return(GatewayImpl.Create(database, settings));
 }