Early Preview
This is currently very much a preview. Please feel free to try things out,
but don't be upset if anything is not yet working. Feedback is welcome over on our
GitHub Dicussions page.
class Microsoft.​Extensions.​FileProviders.​NullFileProvider
Assembly: Microsoft.Extensions.FileProviders.Abstractions
Inheritance: object → NullFileProvider
Implemented Interfaces
An empty file provider with no contents.
Methods
public
IDirectoryContents
GetDirectoryContents​(string subpath)
Enumerates a nonexistent directory.
Returns A <see cref="T:Microsoft.Extensions.FileProviders.IDirectoryContents" /> that does not exist and does not contain any contents.
subpath
A path under the root directory. This parameter is ignored.
Returns A <see cref="T:Microsoft.Extensions.FileProviders.IFileInfo" /> representing a nonexistent file at the given path.
subpath
A path under the root directory.
Watch​(string filter)
Returns a <see cref="T:Microsoft.Extensions.Primitives.IChangeToken" /> that monitors nothing.
Returns A <see cref="T:Microsoft.Extensions.Primitives.IChangeToken" /> that does not register callbacks.
filter
Filter string used to determine what files or folders to monitor. This parameter is ignored.
public
bool
Equals​(object obj)
Inherited from object
protected
void
Finalize​()
Inherited from object
public
int
GetHashCode​()
Inherited from object
protected
object
MemberwiseClone​()
Inherited from object
public
string
ToString​()
Inherited from object