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