AcManager.Tools.Helpers.AbstractFilesStorage.EnsureDirectory C# (CSharp) Méthode

EnsureDirectory() public méthode

public EnsureDirectory ( ) : string
Résultat string
        public string EnsureDirectory(params string[] parts) {
            var directory = Combine(parts);

            if (!Directory.Exists(directory)) {
                Directory.CreateDirectory(directory);
            }

            return directory;
        }