Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches

◆ EnableRaisingEvents

bool System.IO.FileSystemWatcher.EnableRaisingEvents
getset

Definition at line 202 of file FileSystemWatcher.cs.

203 {
204 get
205 {
206 return _enabled;
207 }
208 set
209 {
210 if (_enabled != value)
211 {
212 if (IsSuspended())
213 {
214 _enabled = value;
215 }
216 else if (value)
217 {
219 }
220 else
221 {
223 }
224 }
225 }
226 }

Referenced by System.IO.FileSystemWatcher.ReadDirectoryChangesCallback(), and System.IO.FileSystemWatcher.WaitForChanged().