FileConfigurationWatcher - класс

Объект, ожидающий изменений в единственном указанном конфигурационном файле. Уведомляет при изменении содержимого или удалении файла.

Definition

Пространство имён: Tessa.Platform.Configuration
Сборка: Tessa (в Tessa.dll) Версия: 4.1.3+7e2b1422f9b8c7c41fbbc4b151a843bed05319ab
C#
public sealed class FileConfigurationWatcher : IConfigurationWatcher, 
	IAsyncDisposable
Inheritance
Object    FileConfigurationWatcher
Implements
IAsyncDisposable, IConfigurationWatcher

Конструкторы

FileConfigurationWatcher Создаёт экземпляр класса с указанием пути до отслеживаемого файла. Фактическое прослушивание не запускается до первого вызова NotifyAsync.

Методы

DisposeAsyncPerforms application-defined tasks associated with freeing, releasing, or resetting unmanaged resources asynchronously.
EqualsDetermines whether the specified object is equal to the current object.
(Унаследован от Object)
FinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Унаследован от Object)
GetHashCodeServes as the default hash function.
(Унаследован от Object)
GetTypeGets the Type of the current instance.
(Унаследован от Object)
MemberwiseCloneCreates a shallow copy of the current Object.
(Унаследован от Object)
NotifyAsync Уведомляет при наличии изменений (возвращается true) или при остановке прослушивания (возвращается false). При первом вызове запускает прослушивание.
ToStringReturns a string that represents the current object.
(Унаследован от Object)

См. также