IFileProvider Interface

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(DirectoryPath) IDirectory
Gets a directory from a specified path.
GetFile(FilePath) IFile
Gets a file from a specified path.
GitHub