| 12345678910111213141516171819202122232425262728293031 |
- using Quadarax.Foundation.Core.Object;
- using Quadarax.Foundation.Core.QConsole.Context;
- using System.IO.Abstractions;
- namespace qdr.app.tss.client.console
- {
- internal class TssEngineContext : DisposableObject, IEngineContext
- {
- private IFileSystem? _fileSystem;
- public string Status => throw new NotImplementedException();
- public TssEngineContext(IFileSystem fileSystem)
- {
- _fileSystem = fileSystem;
- }
- public ICommandContext CreateCommandContext()
- {
- return new TssCommandContext(_fileSystem ?? new FileSystem());
- }
- protected override void OnDisposing()
- {
- _fileSystem = null;
- }
- }
- }
|