Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches

◆ CheckPathValidity()

static void System.IO.FileSystemWatcher.CheckPathValidity ( string path)
inlinestaticprivate

Definition at line 443 of file FileSystemWatcher.cs.

444 {
445 if (path == null)
446 {
447 throw new ArgumentNullException("path");
448 }
449 if (path.Length == 0)
450 {
452 }
453 if (!Directory.Exists(path))
454 {
456 }
457 }
static string Format(string resourceFormat, object p1)
Definition SR.cs:118
static string InvalidDirName
Definition SR.cs:20
static string InvalidDirName_NotExists
Definition SR.cs:22
Definition SR.cs:7

References System.IO.Directory.Exists(), System.SR.Format(), System.SR.InvalidDirName, and System.SR.InvalidDirName_NotExists.

Referenced by System.IO.FileSystemWatcher.FileSystemWatcher(), and System.IO.FileSystemWatcher.FileSystemWatcher().