using System;
namespace System.IO
{
/// Provides data for the event.
/// 2
// Token: 0x02000129 RID: 297
public class RenamedEventArgs : FileSystemEventArgs
{
/// Initializes a new instance of the class.
/// One of the values.
/// The name of the affected file or directory.
/// The name of the affected file or directory.
/// The old name of the affected file or directory.
// Token: 0x06000A5A RID: 2650 RVA: 0x0001D50C File Offset: 0x0001B70C
public RenamedEventArgs(WatcherChangeTypes changeType, string directory, string name, string oldName)
: base(changeType, directory, name)
{
this.oldName = oldName;
this.oldFullPath = Path.Combine(directory, oldName);
}
/// Gets the previous fully qualified path of the affected file or directory.
/// The previous fully qualified path of the affected file or directory.
/// 2
///
///
///
// Token: 0x1700029E RID: 670
// (get) Token: 0x06000A5B RID: 2651 RVA: 0x0001D530 File Offset: 0x0001B730
public string OldFullPath
{
get
{
return this.oldFullPath;
}
}
/// Gets the old name of the affected file or directory.
/// The previous name of the affected file or directory.
/// 2
// Token: 0x1700029F RID: 671
// (get) Token: 0x06000A5C RID: 2652 RVA: 0x0001D538 File Offset: 0x0001B738
public string OldName
{
get
{
return this.oldName;
}
}
// Token: 0x04000ABD RID: 2749
private string oldName;
// Token: 0x04000ABE RID: 2750
private string oldFullPath;
}
}