C# Class Microsoft.Extensions.FileProviders.NullFileProvider

An empty file provider with no contents.
Inheritance: IFileProvider
Mostrar archivo Open project: uhaciogullari/HttpClientFactoryLite

Public Methods

Method Description
GetDirectoryContents ( string subpath ) : IDirectoryContents

Enumerate a non-existent directory.

GetFileInfo ( string subpath ) : IFileInfo

Locate a non-existent file.

Watch ( string filter ) : IChangeToken

Returns a IChangeToken that monitors nothing.

Method Details

GetDirectoryContents() public method

Enumerate a non-existent directory.
public GetDirectoryContents ( string subpath ) : IDirectoryContents
subpath string A path under the root directory. This parameter is ignored.
return IDirectoryContents

GetFileInfo() public method

Locate a non-existent file.
public GetFileInfo ( string subpath ) : IFileInfo
subpath string A path under the root directory.
return IFileInfo

Watch() public method

Returns a IChangeToken that monitors nothing.
public Watch ( string filter ) : IChangeToken
filter string Filter string used to determine what files or folders to monitor. This parameter is ignored.
return IChangeToken