public static PropertiesFile ReadPropertiesFile(string filename) { PropertiesFile file = new PropertiesFile(filename); file.ReadProperties(); return(file); }
public static PropertiesFile ReadPropertiesFileOrFail(string filename) { var file = new PropertiesFile(filename); file.ReadPropertiesOrFail(); return(file); }
public static PropertiesFile ReadPropertiesFileOrFail(string filename) { PropertiesFile file = new PropertiesFile(filename); file.ReadPropertiesOrFail(); return file; }