Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches
RenamedEventArgs.cs
Go to the documentation of this file.
1namespace System.IO;
2
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}
static string Combine(string directoryPath, string name)
RenamedEventArgs(WatcherChangeTypes changeType, string directory, string? name, string? oldName)