using Quadarax.Foundation.Core.Object; using Quadarax.Foundation.Core.QConsole.Context; using System.IO.Abstractions; namespace qdr.app.tools.qfu { internal class QfuEngineContext : DisposableObject, IEngineContext { private IFileSystem? _fileSystem; public string Status => throw new NotImplementedException(); public QfuEngineContext(IFileSystem fileSystem) { _fileSystem = fileSystem; } public ICommandContext CreateCommandContext() { return new QfuCommandContext(_fileSystem ?? new FileSystem()); } protected override void OnDisposing() { _fileSystem = null; } } }