using System.Reactive.Linq; using System.Reactive.Subjects; using MoonlightServers.Daemon.ServerSys.Abstractions; namespace MoonlightServers.Daemon.ServerSys.Implementations; public class DockerInstaller : IInstaller { public IObservable OnExited => OnExitedSubject; public bool IsRunning { get; private set; } = false; private readonly Subject OnExitedSubject = new(); private readonly ILogger Logger; public DockerInstaller(ILogger logger) { Logger = logger; } public Task Initialize() { return Task.CompletedTask; } public Task Sync() { throw new NotImplementedException(); } public Task Start() { throw new NotImplementedException(); } public Task Abort() { throw new NotImplementedException(); } public Task Cleanup() { throw new NotImplementedException(); } public Task SearchForCrash() { throw new NotImplementedException(); } public async ValueTask DisposeAsync() { OnExitedSubject.Dispose(); } }