scripts
This commit is contained in:
@@ -0,0 +1,58 @@
|
||||
using System;
|
||||
|
||||
namespace System.IO
|
||||
{
|
||||
/// <summary>Provides data for the <see cref="E:System.IO.FileSystemWatcher.Renamed" /> event.</summary>
|
||||
/// <filterpriority>2</filterpriority>
|
||||
// Token: 0x02000129 RID: 297
|
||||
public class RenamedEventArgs : FileSystemEventArgs
|
||||
{
|
||||
/// <summary>Initializes a new instance of the <see cref="T:System.IO.RenamedEventArgs" /> class.</summary>
|
||||
/// <param name="changeType">One of the <see cref="T:System.IO.WatcherChangeTypes" /> values. </param>
|
||||
/// <param name="directory">The name of the affected file or directory. </param>
|
||||
/// <param name="name">The name of the affected file or directory. </param>
|
||||
/// <param name="oldName">The old name of the affected file or directory. </param>
|
||||
// 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);
|
||||
}
|
||||
|
||||
/// <summary>Gets the previous fully qualified path of the affected file or directory.</summary>
|
||||
/// <returns>The previous fully qualified path of the affected file or directory.</returns>
|
||||
/// <filterpriority>2</filterpriority>
|
||||
/// <PermissionSet>
|
||||
/// <IPermission class="System.Security.Permissions.FileIOPermission, mscorlib, Version=2.0.3600.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" version="1" Unrestricted="true" />
|
||||
/// </PermissionSet>
|
||||
// Token: 0x1700029E RID: 670
|
||||
// (get) Token: 0x06000A5B RID: 2651 RVA: 0x0001D530 File Offset: 0x0001B730
|
||||
public string OldFullPath
|
||||
{
|
||||
get
|
||||
{
|
||||
return this.oldFullPath;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>Gets the old name of the affected file or directory.</summary>
|
||||
/// <returns>The previous name of the affected file or directory.</returns>
|
||||
/// <filterpriority>2</filterpriority>
|
||||
// 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;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user