PollingFileChangeToken Class

Namespace
Microsoft.Extensions.FileProviders.Physical
Assemblies
  • Microsoft.Extensions.FileProviders.Physical

Syntax

public class PollingFileChangeToken : IChangeToken
class Microsoft.Extensions.FileProviders.Physical.PollingFileChangeToken

Constructors

PollingFileChangeToken(System.IO.FileInfo)
public PollingFileChangeToken(FileInfo fileInfo)

Properties

Microsoft.Extensions.FileProviders.Physical.PollingFileChangeToken.ActiveChangeCallbacks
Return type:System.Boolean
public bool ActiveChangeCallbacks { get; }
Microsoft.Extensions.FileProviders.Physical.PollingFileChangeToken.HasChanged
Return type:System.Boolean
public bool HasChanged { get; }

Methods

RegisterChangeCallback(System.Action<System.Object>, System.Object)
Return type:System.IDisposable
public IDisposable RegisterChangeCallback(Action<object> callback, object state)