Seal.Forms.ToolsHelper.exportFolderNamesTranslations C# (CSharp) Méthode

exportFolderNamesTranslations() public méthode

public exportFolderNamesTranslations ( string path, StringBuilder translations, string separator, string extraSeparators, int len ) : void
path string
translations StringBuilder
separator string
extraSeparators string
len int
Résultat void
        void exportFolderNamesTranslations(string path, StringBuilder translations, string separator, string extraSeparators, int len)
        {
            foreach (string subdir in Directory.GetDirectories(path))
            {
                translations.AppendFormat("FolderName{0}{1}{0}{2}{3}\r\n", separator, Helper.QuoteDouble(subdir.Substring(len)), Helper.QuoteDouble(Path.GetFileName(subdir)), extraSeparators);
                translations.AppendFormat("FolderPath{0}{1}{0}{2}{3}\r\n", separator, Helper.QuoteDouble(subdir.Substring(len)), Helper.QuoteDouble(subdir.Substring(len)), extraSeparators);
                exportFolderNamesTranslations(subdir, translations, separator, extraSeparators, len);
            }
        }