scripts
This commit is contained in:
@@ -0,0 +1,35 @@
|
||||
using System;
|
||||
|
||||
namespace System.IO
|
||||
{
|
||||
// Token: 0x02000128 RID: 296
|
||||
internal class NullFileWatcher : IFileWatcher
|
||||
{
|
||||
// Token: 0x06000A57 RID: 2647 RVA: 0x0001D4D4 File Offset: 0x0001B6D4
|
||||
public void StartDispatching(FileSystemWatcher fsw)
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x06000A58 RID: 2648 RVA: 0x0001D4D8 File Offset: 0x0001B6D8
|
||||
public void StopDispatching(FileSystemWatcher fsw)
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x06000A59 RID: 2649 RVA: 0x0001D4DC File Offset: 0x0001B6DC
|
||||
public static bool GetInstance(out IFileWatcher watcher)
|
||||
{
|
||||
if (NullFileWatcher.instance != null)
|
||||
{
|
||||
watcher = NullFileWatcher.instance;
|
||||
return true;
|
||||
}
|
||||
IFileWatcher fileWatcher;
|
||||
watcher = (fileWatcher = new NullFileWatcher());
|
||||
NullFileWatcher.instance = fileWatcher;
|
||||
return true;
|
||||
}
|
||||
|
||||
// Token: 0x04000ABC RID: 2748
|
||||
private static IFileWatcher instance;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user