Terraria
v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches
RenamedEventArgs.cs
Go to the documentation of this file.
1
namespace
System.IO
;
2
3
public
class
RenamedEventArgs
:
FileSystemEventArgs
4
{
5
private
readonly
string
_oldName
;
6
7
private
readonly
string
_oldFullPath
;
8
9
public
string
OldFullPath
=>
_oldFullPath
;
10
11
public
string
?
OldName
=>
_oldName
;
12
13
public
RenamedEventArgs
(
WatcherChangeTypes
changeType,
string
directory,
string
? name,
string
? oldName)
14
: base(changeType, directory, name)
15
{
16
_oldName
= oldName;
17
_oldFullPath
=
FileSystemEventArgs
.
Combine
(directory, oldName);
18
}
19
}
System.IO.FileSystemEventArgs.Combine
static string Combine(string directoryPath, string name)
Definition
FileSystemEventArgs.cs:24
System.IO.FileSystemEventArgs
Definition
FileSystemEventArgs.cs:4
System.IO.RenamedEventArgs.OldFullPath
string OldFullPath
Definition
RenamedEventArgs.cs:9
System.IO.RenamedEventArgs._oldFullPath
readonly string _oldFullPath
Definition
RenamedEventArgs.cs:7
System.IO.RenamedEventArgs.RenamedEventArgs
RenamedEventArgs(WatcherChangeTypes changeType, string directory, string? name, string? oldName)
Definition
RenamedEventArgs.cs:13
System.IO.RenamedEventArgs.OldName
string? OldName
Definition
RenamedEventArgs.cs:11
System.IO.RenamedEventArgs._oldName
readonly string _oldName
Definition
RenamedEventArgs.cs:5
System.IO.RenamedEventArgs
Definition
RenamedEventArgs.cs:4
System.IO.WatcherChangeTypes
WatcherChangeTypes
Definition
WatcherChangeTypes.cs:5
System.IO
Definition
ConsoleStream.cs:3
source
System.IO.FileSystem.Watcher
System.IO
RenamedEventArgs.cs
Generated by
1.10.0