Microsoft.Owin.FileSystems
Looks up files using embedded resources in the specified assembly.
This file system is case sensitive.
A file system abstraction
Locate a file at the given path
The path that identifies the file
The discovered file if any
True if a file was located at the given path
Enumerate a directory at the given path, if any
The path that identifies the directory
The contents if any
True if a directory was located at the given path
Initializes a new instance of the class using the calling
assembly and empty base namespace.
Initializes a new instance of the class using the specified
assembly and empty base namespace.
Initializes a new instance of the class using the calling
assembly and specified base namespace.
The base namespace that contains the embedded resources.
Initializes a new instance of the class using the specified
assembly and base namespace.
The assembly that contains the embedded resources.
The base namespace that contains the embedded resources.
Locate a file at the given path
The path that identifies the file
The discovered file if any
True if a file was located at the given path
Enumerate a directory at the given path, if any.
This file system uses a flat directory structure. Everything under the base namespace is considered to be one directory.
The path that identifies the directory
The contents if any
True if a directory was located at the given path
Represents a file in the given file system.
Return file contents as readonly stream. Caller should dispose stream when complete.
The file stream
The length of the file in bytes, or -1 for a directory info
The path to the file, including the file name. Return null if the file is not directly accessible.
The name of the file
When the file was last modified
True for the case TryGetDirectoryContents has enumerated a sub-directory
Looks up files using the on-disk file system
Creates a new instance of a PhysicalFileSystem at the given root directory.
The root directory
Locate a file at the given path by directly mapping path segments to physical directories.
A path under the root directory
The discovered file, if any
True if a file was discovered at the given path
Enumerate a directory at the given path, if any.
A path under the root directory
The discovered directories, if any
True if a directory was discovered at the given path
The root directory for this instance.