Esempio n. 1
0
 public static IEnumerable <string> EnumerateFiles(string name)
 {
     return(BaseIOUtils.RepeatActionWithDelay <IEnumerable <string> >(() => Directory.EnumerateFiles(name)));
 }
Esempio n. 2
0
 public static string[] GetFiles(string name, string filter, SearchOption option)
 {
     return(BaseIOUtils.RepeatActionWithDelay <string[]>(() => Directory.GetFiles(name, filter, option)));
 }
Esempio n. 3
0
 public static string[] GetFileSystemEntries(string name)
 {
     return(BaseIOUtils.RepeatActionWithDelay <string[]>(() => Directory.GetFileSystemEntries(name)));
 }
Esempio n. 4
0
 public static void SetCurrentDirectory(string name)
 {
     BaseIOUtils.RepeatActionWithDelay(() => Directory.SetCurrentDirectory(name));
 }
Esempio n. 5
0
 public static string GetCurrentDirectory()
 {
     return(BaseIOUtils.RepeatActionWithDelay <string>(() => Directory.GetCurrentDirectory()));
 }
Esempio n. 6
0
 public static bool Exists(string name)
 {
     return(BaseIOUtils.RepeatActionWithDelay <bool>(() => Directory.Exists(name)));
 }
Esempio n. 7
0
 public static void Delete(string name, bool recursive)
 {
     BaseIOUtils.RepeatActionWithDelay(() => Directory.Delete(name, recursive));
 }
Esempio n. 8
0
 public static void CreateDirectory(string name)
 {
     BaseIOUtils.RepeatActionWithDelay(() => Directory.CreateDirectory(name));
 }
Esempio n. 9
0
 public static void Move(string from, string to)
 {
     BaseIOUtils.RepeatActionWithDelay(() => File.Move(from, to));
 }
Esempio n. 10
0
 public static void Delete(string name)
 {
     BaseIOUtils.RepeatActionWithDelay(() => File.Delete(name));
 }
Esempio n. 11
0
 public static FileStream OpenRead(string name)
 {
     return(BaseIOUtils.RepeatActionWithDelay <FileStream>(() => File.OpenRead(name)));
 }
Esempio n. 12
0
 public static void Copy(string from, string to, bool _override)
 {
     BaseIOUtils.RepeatActionWithDelay(() => File.Copy(from, to, _override));
 }