FolderManagement.FileStorageService.CreateDirectoryIfNotExists C# (CSharp) Méthode

CreateDirectoryIfNotExists() private static méthode

private static CreateDirectoryIfNotExists ( string dir ) : void
dir string
Résultat void
        private static void CreateDirectoryIfNotExists(string dir)
        {
            if (!Directory.Exists(dir))
            {
                Directory.CreateDirectory(dir);
            }
        }