2using System.Threading.Tasks;
48 CompileJob = compileJob ??
throw new ArgumentNullException(nameof(compileJob));
49 EngineVersion = engineVersion ??
throw new ArgumentNullException(nameof(engineVersion));
59 return ValueTask.CompletedTask;
Information about an engine installation.
Represents a deployment run.
Guid? DirectoryName
The Game folder the results were compiled into.
readonly IIOManager ioManager
The IIOManager for the DmbProvider.
override void KeepAlive()
Disposing the IDmbProvider won't cause a cleanup of the working directory.
readonly string directoryAppend
Extra path to add to the end of CompileJob.DirectoryName.
DisposeInvoker? onDispose
The Action to run when DisposeAsync is called.
override string Directory
The primary game directory.
override ValueTask DisposeAsync()
DmbProvider(Models.CompileJob compileJob, EngineVersion engineVersion, IIOManager ioManager, DisposeInvoker onDispose, string? directoryAppend=null)
Initializes a new instance of the DmbProvider class.
Runs a given disposeAction on Dispose.
Provides absolute paths to the latest compiled .dmbs.
Interface for using filesystems.
string ResolvePath()
Retrieve the full path of the current working directory.