public void GenerateResx(string baseName) { var generator = new ResxGenerator() { ConnectionStringName = ConnectionStringName }; string filename = string.Format("{0}.resx", baseName); using (Stream stream = File.Open(filename, FileMode.Create)) { TextWriter writer = new StreamWriter(stream); generator.GenerateResxFile(writer); } }
public void GenerateResx(string baseName) { var generator = new ResxGenerator(){ ConnectionStringName = ConnectionStringName }; string filename = string.Format("{0}.resx", baseName); using (Stream stream = File.Open(filename, FileMode.Create)) { TextWriter writer = new StreamWriter(stream); generator.GenerateResxFile(writer); } }