Class NullFileProvider
- Namespace
- Acuit.Pinpoint.FileProviders
- Assembly
- Acuit.Pinpoint.Configuration.dll
An empty file provider with no contents.
public class NullFileProvider : IFileProvider
- Inheritance
-
NullFileProvider
- Implements
- Inherited Members
Methods
GetDirectoryContents(string)
Enumerate a non-existent directory.
public IDirectoryContents GetDirectoryContents(string subpath)
Parameters
subpath
stringA path under the root directory. This parameter is ignored.
Returns
- IDirectoryContents
A IDirectoryContents that does not exist and does not contain any contents.
GetFileInfo(string)
Locate a non-existent file.
public IFileInfo GetFileInfo(string subpath)
Parameters
subpath
stringA path under the root directory.
Returns
Watch(string)
Returns a IChangeToken that monitors nothing.
public IChangeToken Watch(string filter)
Parameters
filter
stringFilter string used to determine what files or folders to monitor. This parameter is ignored.
Returns
- IChangeToken
A IChangeToken that does not register callbacks.