Esempio n. 1
0
 public TempDirectory(string parentDirectory = null)
 {
     Location = PathUtility.GetRandomDirectory(parentDirectory);
     Directory.CreateDirectory(Location);
 }
Esempio n. 2
0
 public TempFile(string directory, string extension)
 {
     Location = PathUtility.GetRandomFile(directory, extension);
 }