public static DotHmbotConfigurationFile Create(string filename) { DotHmbotConfigurationFile x = new DotHmbotConfigurationFile { filename = filename }; x.save(); return x; }
public static DotHmbotConfigurationFile Create(string filename) { DotHmbotConfigurationFile x = new DotHmbotConfigurationFile { filename = filename }; x.save(); return(x); }
public static DotHmbotConfigurationFile Create(string filename, string serverHostname, uint serverPort, string username, string password, string schema) { DotHmbotConfigurationFile x = new DotHmbotConfigurationFile { filename = filename }; x[MYSQL_SERVER] = serverHostname; x[MYSQL_PORT] = serverPort.ToString(); x[MYSQL_USERNAME] = username; x[MYSQL_PASSWORD] = password; x[MYSQL_SCHEMA] = schema; x.save(); return x; }
public static DotHmbotConfigurationFile Create(string filename, string serverHostname, uint serverPort, string username, string password, string schema) { DotHmbotConfigurationFile x = new DotHmbotConfigurationFile { filename = filename }; x[MYSQL_SERVER] = serverHostname; x[MYSQL_PORT] = serverPort.ToString(); x[MYSQL_USERNAME] = username; x[MYSQL_PASSWORD] = password; x[MYSQL_SCHEMA] = schema; x.save(); return(x); }