Class UncachedFileService
- Namespace
- AsmResolver.IO
- Assembly
- AsmResolver.dll
Provides a basic singleton implementation of a IFileService that produces instances of the ByteArrayInputFile class, and does no tracking and caching of any of the opened files.
public sealed class UncachedFileService : IFileService, IDisposable
- Inheritance
-
UncachedFileService
- Implements
- Inherited Members
Properties
Instance
Gets the singleton instance of the file service.
public static UncachedFileService Instance { get; }
Property Value
Methods
OpenFile(string)
Opens a file at the provided file path.
public IInputFile OpenFile(string filePath)
Parameters
filePath
stringThe path to the file to open.
Returns
- IInputFile
The opened file.