Coree.NETASP
  • API
Show / Hide Table of Contents
  • Coree.NETASP.Extensions
    • HttpResponseExtensions
  • Coree.NETASP.Extensions.KestrelOptions
    • AuthenticationBuilderExtensions
    • ConfigureWebHostBuilderExtensions
    • ConfigureWebHostBuilderExtensions.ListenType
    • xExtensions
  • Coree.NETASP.Extensions.WebApplicationBuilderExtensions
    • WebAppBuilderExtensions
    • WebApplicationBuilderExtension
  • Coree.NETASP.Middleware
    • FailurePointsMiddleware
    • FailurePointsMiddlewareExtensions
    • FailurePointsMiddlewareOptions
    • RequestThrottlingMiddleware
  • Coree.NETASP.Middleware.AcceptLanguageFiltering
    • AcceptLanguageFilteringExtensions
    • AcceptLanguageFilteringMiddleware
    • AcceptLanguageFilteringOptions
  • Coree.NETASP.Middleware.DnsHostNameFiltering
    • DnsHostNameFilteringMiddleware
    • DnsHostNameFilteringMiddlewareExtensions
    • DnsHostNameFilteringOptions
  • Coree.NETASP.Middleware.HostNameFiltering
    • HostNameFilterOptions
    • HostNameFilteringExtensions
    • HostNameFilteringMiddleware
  • Coree.NETASP.Middleware.NewFolder
    • PreMiddlewareHostedService
    • WaitForPreMiddlewareHostedServiceMiddleware
    • fooExtensions
  • Coree.NETASP.Middleware.PathDeep
    • PathDeepFilteringExtensions
    • PathDeepFilteringMiddleware
    • PathDeepFilteringOptions
  • Coree.NETASP.Middleware.ProtocolFiltering
    • ProtocolFilteringMiddleware
    • ProtocolFilteringMiddlewareExtensions
    • ProtocolFilteringOptions
  • Coree.NETASP.Middleware.RequestLogging
    • RequestLoggingMiddleware
  • Coree.NETASP.Middleware.RequestUrlFiltering
    • RequestUrlFilteringExtensions
    • RequestUrlFilteringMiddleware
    • RequestUrlFilteringOptions
  • Coree.NETASP.Middleware.ResponseRecording
    • ResponseRecordingMiddleware
  • Coree.NETASP.Middleware.SegmentBlacklistFiltering
    • SegmentBlacklistFilterOptions
    • SegmentBlacklistFilteringExtensions
    • SegmentBlacklistFilteringMiddleware
  • Coree.NETASP.Middleware.UnwantedHeaderKeysFiltering
    • UnwantedHeaderKeysMiddleware
    • UnwantedHeaderKeysMiddlewareExtensions
    • UnwantedHeaderKeysOptions
  • Coree.NETASP.Middleware.UserAgentFiltering
    • UserAgentFilterOptions
    • UserAgentFilteringExtensions
    • UserAgentFilteringMiddleware
  • Coree.NETASP.Services.CertificateManager
    • CertificateManager
    • CertificateManagerService
    • CommonDistinguishedNameBuilder
    • DistinguishedName
    • ICertificateManagerService
  • Coree.NETASP.Services.CookieAuth
    • AuthExtensions
    • CookieAuthHandler
    • ICookieAuthHandler
  • Coree.NETASP.Services.Instancer
    • IServerConfigurationAnalyzer
    • ServerConfigurationAnalyzer
    • ServerConfigurationAnalyzer.ServerListenDetail
  • Coree.NETASP.Services.Points
    • Entry
    • IPointService
    • PointEntry
    • PointService
    • PointServiceOptions
  • Coree.NETASP.UnderConstruction
    • CustomWebApplication
    • CustomWebApplication2
    • DummyFileProvider
    • EmptyWebHostBuilder
    • EmptyWebHostBuilder2
    • EmptyWebHostBuilder3
    • EmptyWebHostBuilderx
    • ExampleClass
    • FileServerMiddleware
    • FileServerMiddlewareExtensions
    • MyWebHostBuilder
    • ObjectDumper
    • ObjectDumper2
    • ObjectDumper3
    • OptionsDumper
    • OptionsKestrelServerOptionsExtensions
    • PhpCgiExecutor
    • Product
    • PropertyAccessTracker<T>
    • ServicesDumper
    • TrackableItem<T>
    • TrackableList<T>
    • TrackableState

Class DummyFileProvider

Inheritance
object
DummyFileProvider
Implements
IFileProvider
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Coree.NETASP.UnderConstruction
Assembly: Coree.NETASP.dll
Syntax
public class DummyFileProvider : IFileProvider

Constructors

| Edit this page View Source

DummyFileProvider(string)

Declaration
public DummyFileProvider(string root)
Parameters
Type Name Description
string root

Methods

| Edit this page View Source

GetDirectoryContents(string)

Enumerate a directory at the given path, if any.

Declaration
public IDirectoryContents GetDirectoryContents(string subpath)
Parameters
Type Name Description
string subpath

Relative path that identifies the directory.

Returns
Type Description
IDirectoryContents

Returns the contents of the directory.

| Edit this page View Source

GetFileInfo(string)

Locate a file at the given path.

Declaration
public IFileInfo GetFileInfo(string subpath)
Parameters
Type Name Description
string subpath

Relative path that identifies the file.

Returns
Type Description
IFileInfo

The file information. Caller must check Exists property.

| Edit this page View Source

Watch(string)

Creates a IChangeToken for the specified filter.

Declaration
public IChangeToken Watch(string filter)
Parameters
Type Name Description
string filter

Filter string used to determine what files or folders to monitor. Example: /*.cs, ., subFolder//*.cshtml.

Returns
Type Description
IChangeToken

An IChangeToken that is notified when a file matching filter is added, modified or deleted.

Implements

IFileProvider
  • Edit this page
  • View Source
In this article
Back to top