iBATIS.NET Class Library DataMapper V1.6.1, DataAccess V1.9.1

ConfigWatcherHandler Class

Class used to watch config files.

For a list of all members of this type, see ConfigWatcherHandler Members.

System.Object
   ConfigWatcherHandler

[Visual Basic]
NotInheritable Public Class ConfigWatcherHandler
[C#]
public class ConfigWatcherHandler

Thread Safety

Public static (Shared in Visual Basic) members of this type are safe for multithreaded operations. Instance members are not guaranteed to be thread-safe.

Remarks

Uses the FileSystemWatcher to monitor changes to a specified file. Because multiple change notifications may be raised when the file is modified, a timer is used to compress the notifications into a single event. The timer waits for the specified time before delivering the event notification. If any further FileSystemWatcher change notifications arrive while the timer is waiting it is reset and waits again for the specified time to elapse.

Requirements

Namespace: IBatisNet.Common.Utilities

Assembly: IBatisNet.Common (in IBatisNet.Common.dll)

See Also

ConfigWatcherHandler Members | IBatisNet.Common.Utilities Namespace