Terraria
v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches
◆
Path
string
System.IO.FileSystemWatcher.Path
get
set
Definition at line
285
of file
FileSystemWatcher.cs
.
286
{
287
get
288
{
289
return
_directory
;
290
}
291
set
292
{
293
value
= ((
value
==
null
) ?
string
.
Empty
:
value
);
294
if
(!
string
.
Equals
(
_directory
,
value
,
System
.
IO
.
PathInternal
.
StringComparison
))
295
{
296
if
(
value
.Length == 0)
297
{
298
throw
new
ArgumentException
(
System
.
SR
.
Format
(
System
.
SR
.
InvalidDirName
,
value
),
"Path"
);
299
}
300
if
(!
Directory
.Exists(
value
))
301
{
302
throw
new
ArgumentException
(
System
.
SR
.
Format
(
System
.
SR
.
InvalidDirName_NotExists
,
value
),
"Path"
);
303
}
304
_directory
=
value
;
305
Restart
();
306
}
307
}
308
}
System.IO.FileSystemWatcher._directory
string _directory
Definition
FileSystemWatcher.cs:152
System.IO.FileSystemWatcher.Restart
void Restart()
Definition
FileSystemWatcher.cs:665
System.IO.PathInternal.StringComparison
static StringComparison StringComparison
Definition
PathInternal.cs:6
System.IO.PathInternal
Definition
PathInternal.cs:4
System.SR.Format
static string Format(string resourceFormat, object p1)
Definition
SR.cs:118
System.SR.InvalidDirName
static string InvalidDirName
Definition
SR.cs:20
System.SR.InvalidDirName_NotExists
static string InvalidDirName_NotExists
Definition
SR.cs:22
System.SR
Definition
SR.cs:7
System.IO.FileAttributes.Directory
@ Directory
System.IO
Definition
ConsoleStream.cs:3
System.Net.CookieToken.Equals
@ Equals
System.Xml.ExceptionType.ArgumentException
@ ArgumentException
System.TypeCode.Empty
@ Empty
System.ExceptionArgument.value
@ value
System
Definition
BlockingCollection.cs:8
System
IO
FileSystemWatcher
Generated by
1.10.0