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

exportReportNamesTranslations() public méthode

public exportReportNamesTranslations ( 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 exportReportNamesTranslations(string path, StringBuilder translations, string separator, string extraSeparators, int len)
        {
            foreach (var fileName in Directory.GetFiles(path))
            {
                if (FileHelper.IsSealAttachedFile(fileName)) continue;
                translations.AppendFormat("FileName{0}{1}{0}{2}{3}\r\n", separator, Helper.QuoteDouble(fileName.Substring(len)), Helper.QuoteDouble(Path.GetFileNameWithoutExtension(fileName)), extraSeparators);
            }

            foreach (string subdir in Directory.GetDirectories(path))
            {
                exportReportNamesTranslations(subdir, translations, separator, extraSeparators, len);
            }
        }