Microsoft.Extensions.FileProviders.Physical.PollingFileChangeToken
A change token that polls for file system changes.
Gets a value that indicates whether this token will proactively raise callbacks. If false, the token
consumer must poll HasChanged to detect changes.
Gets a value that indicates whether the file or directory has changed since the change token was created.
Initializes a new instance of the PollingFileChangeToken class that polls the specified file or directory
for changes as determined by LastWriteTimeUtc.
Registers a callback that will be invoked when the token changes, if ActiveChangeCallbacks is true.
If ActiveChangeCallbacks is false, no callback is registered and an empty disposable is returned.