Table of Contents

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

UncachedFileService

Methods

OpenFile(string)

Opens a file at the provided file path.

public IInputFile OpenFile(string filePath)

Parameters

filePath string

The path to the file to open.

Returns

IInputFile

The opened file.