TestFileProvider Class

Summary

A provider that can instantiate Wyam.Common.IO.IFile and Wyam.Common.IO.IDirectory objects from their paths.
Assembly
Wyam.Testing.dll
Namespace
Wyam.Testing.IO
Interfaces
Base Types
  • Object
graph BT Type-->Base0["Object"] Type-.->Interface0["IFileProvider"] click Interface0 "/api/Wyam.Common.IO/IFileProvider" Type["TestFileProvider"] class Type type-node

Syntax

public class TestFileProvider : IFileProvider

Properties

Name Value Summary
Directories ICollection<string>
Files ConcurrentDictionary<string, StringBuilder>

Methods

Name Value Summary
AddDirectory(string) void
AddFile(string, string) void
GetDirectory(DirectoryPath) IDirectory
Gets a directory from a specified path.
GetFile(FilePath) IFile
Gets a file from a specified path.
GitHub