Microsoft.Extensions.FileProviders.Physical Specifies filtering behavior for files or directories. Equivalent to DotPrefixed | Hidden | System. Exclude files and directories when the name begins with a period, or has either or is set on . Exclude files and directories when the name begins with period. Exclude files and directories when is set on . Exclude files and directories when is set on . Do not exclude any files. Represents a directory on a physical filesystem Initializes an instance of that wraps an instance of The directory Always equals -1. The time when the directory was last written to. Always true. Always throws an exception because read streams are not support on directories. Always thrown Never returns Represents a file on a physical filesystem Initializes an instance of that wraps an instance of The Always false. A file watcher that watches a physical filesystem for changes. Triggers events on when files are created, change, renamed, or deleted. Initializes an instance of that watches files in . Wraps an instance of Root directory for the watcher The wrapped watcher that is watching True when the watcher should use polling to trigger instances of created by Initializes an instance of that watches files in . Wraps an instance of Root directory for the watcher The wrapped watcher that is watching True when the watcher should use polling to trigger instances of created by Specifies which files or directories are excluded. Notifications of changes to are not raised to these. Creates an instance of for all files and directories that match the Globbing patterns are relative to the root directory given in the constructor . Globbing patterns are interpreted by . A globbing pattern for files and directories to watch A change token for all files that match the filter When is null Disposes the file watcher A change token that polls for file system changes. This change token does not raise any change callbacks. Callers should watch for to turn from false to true and dispose the token after this happens. Polling occurs every 4 seconds. Initializes a new instance of that polls the specified file for changes as determined by . The to poll Always false. True when the file has changed since the change token was created. Once the file changes, this value is always true Once true, the value will always be true. Change tokens should not re-used once expired. The caller should discard this instance once it sees is true. Does not actually register callbacks. This parameter is ignored This parameter is ignored A disposable object that noops when disposed A polling based for wildcard patterns. Initializes a new instance of . The root of the file system. The pattern to watch. Gets the last write time of the file at the specified . The root relative path. The that the file was last modified. Represents the contents of a physical file directory Initializes an instance of The directory Initializes an instance of The directory Specifies which files or directories are excluded from enumeration. Looks up files using the on-disk file system When the environment variable "DOTNET_USE_POLLING_FILE_WATCHER" is set to "1" or "true", calls to will use . Initializes a new instance of a PhysicalFileProvider at the given root directory. The root directory. This should be an absolute path. Initializes a new instance of a PhysicalFileProvider at the given root directory. The root directory. This should be an absolute path. Specifies which files or directories are excluded. Disposes the provider. Change tokens may not trigger after the provider is disposed. The root directory for this instance. Locate a file at the given path by directly mapping path segments to physical directories. A path under the root directory The file information. Caller must check property. Enumerate a directory at the given path, if any. A path under the root directory. Leading slashes are ignored. Contents of the directory. Caller must check property. if is absolute, if the directory does not exist, or has invalid characters. Creates a for the specified . Globbing patterns are interpreted by . Filter string used to determine what files or folders to monitor. Example: **/*.cs, *.*, subFolder/**/*.cshtml. An that is notified when a file matching is added, modified or deleted. Returns a if has invalid filter characters or if is an absolute path or outside the root directory specified in the constructor .