public SessionSettings ( string file ) : System.Collections.Generic | ||
file | string | |
return | System.Collections.Generic |
public SessionSettings(string file)
{
try
{
FileStream fs = File.Open(file, FileMode.Open, FileAccess.Read);
Load(new StreamReader(fs));
}
catch(System.Exception e)
{
throw new ConfigError("File " + file + " not found (" + e.Message + ")");
}
}
SessionSettings::SessionSettings ( ) : System.Collections.Generic | |
SessionSettings::SessionSettings ( |