95 lines
2.6 KiB
C#
95 lines
2.6 KiB
C#
using System;
|
|
|
|
namespace System.IO
|
|
{
|
|
/// <summary>Contains information on the change that occurred.</summary>
|
|
/// <filterpriority>2</filterpriority>
|
|
// Token: 0x0200012D RID: 301
|
|
public struct WaitForChangedResult
|
|
{
|
|
/// <summary>Gets or sets the type of change that occurred.</summary>
|
|
/// <returns>One of the <see cref="T:System.IO.WatcherChangeTypes" /> values.</returns>
|
|
/// <filterpriority>2</filterpriority>
|
|
// Token: 0x170002A1 RID: 673
|
|
// (get) Token: 0x06000A66 RID: 2662 RVA: 0x0001D8B0 File Offset: 0x0001BAB0
|
|
// (set) Token: 0x06000A67 RID: 2663 RVA: 0x0001D8B8 File Offset: 0x0001BAB8
|
|
public WatcherChangeTypes ChangeType
|
|
{
|
|
get
|
|
{
|
|
return this.changeType;
|
|
}
|
|
set
|
|
{
|
|
this.changeType = value;
|
|
}
|
|
}
|
|
|
|
/// <summary>Gets or sets the name of the file or directory that changed.</summary>
|
|
/// <returns>The name of the file or directory that changed.</returns>
|
|
/// <filterpriority>2</filterpriority>
|
|
// Token: 0x170002A2 RID: 674
|
|
// (get) Token: 0x06000A68 RID: 2664 RVA: 0x0001D8C4 File Offset: 0x0001BAC4
|
|
// (set) Token: 0x06000A69 RID: 2665 RVA: 0x0001D8CC File Offset: 0x0001BACC
|
|
public string Name
|
|
{
|
|
get
|
|
{
|
|
return this.name;
|
|
}
|
|
set
|
|
{
|
|
this.name = value;
|
|
}
|
|
}
|
|
|
|
/// <summary>Gets or sets the original name of the file or directory that was renamed.</summary>
|
|
/// <returns>The original name of the file or directory that was renamed.</returns>
|
|
/// <filterpriority>2</filterpriority>
|
|
// Token: 0x170002A3 RID: 675
|
|
// (get) Token: 0x06000A6A RID: 2666 RVA: 0x0001D8D8 File Offset: 0x0001BAD8
|
|
// (set) Token: 0x06000A6B RID: 2667 RVA: 0x0001D8E0 File Offset: 0x0001BAE0
|
|
public string OldName
|
|
{
|
|
get
|
|
{
|
|
return this.oldName;
|
|
}
|
|
set
|
|
{
|
|
this.oldName = value;
|
|
}
|
|
}
|
|
|
|
/// <summary>Gets or sets a value indicating whether the wait operation timed out.</summary>
|
|
/// <returns>true if the <see cref="M:System.IO.FileSystemWatcher.WaitForChanged(System.IO.WatcherChangeTypes)" /> method timed out; otherwise, false.</returns>
|
|
/// <filterpriority>2</filterpriority>
|
|
// Token: 0x170002A4 RID: 676
|
|
// (get) Token: 0x06000A6C RID: 2668 RVA: 0x0001D8EC File Offset: 0x0001BAEC
|
|
// (set) Token: 0x06000A6D RID: 2669 RVA: 0x0001D8F4 File Offset: 0x0001BAF4
|
|
public bool TimedOut
|
|
{
|
|
get
|
|
{
|
|
return this.timedOut;
|
|
}
|
|
set
|
|
{
|
|
this.timedOut = value;
|
|
}
|
|
}
|
|
|
|
// Token: 0x04000ACE RID: 2766
|
|
private WatcherChangeTypes changeType;
|
|
|
|
// Token: 0x04000ACF RID: 2767
|
|
private string name;
|
|
|
|
// Token: 0x04000AD0 RID: 2768
|
|
private string oldName;
|
|
|
|
// Token: 0x04000AD1 RID: 2769
|
|
private bool timedOut;
|
|
}
|
|
}
|