Exemple #1
0
        public string[] SplitResxMaster(Stream input, string outputdir)
        {
            var list = SplitResxMaster(input);
            var ret  = new List <string>();

            foreach (var key in list.Keys)
            {
                var dir = !string.IsNullOrEmpty(key) ? Path.Combine(outputdir, key + ".resx") : Path.Combine(outputdir, "_.resx");
                if (key == null)
                {
                    continue;
                }
                ResxHelper.SaveResxFile(list[key], dir);
                ret.Add(dir);
            }
            return(ret.ToArray());
        }
Exemple #2
0
 public void ConvertToResx(Stream input, string output)
 {
     ResxHelper.SaveResxFile(ConvertToResxObjects(input), output);
 }