Table of Contents

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 string

A 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 string

A path under the root directory.

Returns

IFileInfo

A IFileInfo representing a non-existent file at the given path.

Watch(string)

Returns a IChangeToken that monitors nothing.

public IChangeToken Watch(string filter)

Parameters

filter string

Filter string used to determine what files or folders to monitor. This parameter is ignored.

Returns

IChangeToken

A IChangeToken that does not register callbacks.