A provider that can instantiate
IFile
and IDirectory
objects from their paths.
- Namespace
- Statiq
.Common - Implementing Types
graph BT
Type["IFileProvider"]
class Type type-node
Implementing0["DocumentFileProvider"]-.->Type
click Implementing0 "/api/Statiq.Common/DocumentFileProvider"
Implementing1["LocalFileProvider"]-.->Type
click Implementing1 "/api/Statiq.Core/LocalFileProvider"
Implementing2["TestFileProvider"]-.->Type
click Implementing2 "/api/Statiq.Testing/TestFileProvider"
Syntax
public interface IFileProvider
Methods
Name | Return Value | Summary |
---|---|---|
GetDirectory |
IDirectory |
Gets a directory from a specified path.
|
GetFile |
IFile |
Gets a file from a specified path.
|